Skip to content

GniLudio/thependel

Repository files navigation

The Pendulum

This art project draws pendulums on the canvas.

canvas

Website

The project can be found on 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

Watchers

Forks

Releases

No releases published

Packages

No packages published