diff --git a/README.md b/README.md index 0d28c08..45c4342 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,18 @@ The project can be found on [https://gniludio.github.io/thependel/](https://gnil | `1-9` | Toggles the settings. | | `Esc` | Closes the settings. | | `Spacebar` | Pause / Unpause | + +## Future Ideas + +### Fading Out +It would be very appealing if each pendulum has an additional fade duration after which the drawn line disappears. I tried to make that work through several ways, but found no satisfactory solution. + + +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](http://fabricjs.com/) + * tried with Polylines and with grouped Lines + * both too slow