Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Pendulum

This art project draws pendulums on the canvas.

canvas

Website

The project is live at thependel.art.

Future Ideas

Fading Out

It would be very appealing if each pendulum has an additional fade duration after which the drawn line disappears. Unfortunately, the things I tried out weren't satisfatory:

  1. clear canvas and redraw everything which didn't fade out
    • very slow
  2. clear canvas and redraw everything through bezierCurve in big steps (e.g. 45°)
    • a lot faster than 1. (still very unefficient)
    • redrawing doesn't result in the same image
  3. fabric.js
    • tried with Polylines and with grouped Lines
    • both too slow

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages