/parametric-curves

Primary LanguageJavaScriptMIT LicenseMIT

parametric-curves

Fast animated curve rendering on the GPU with parametric equations.

The vertex shader supports local Frenet-Serret frames (approximations) and more robust Parallel Transport frames (at expense of performance).

Live Demo

http://parametric-curves.surge.sh/

Blog Post

https://mattdesl.svbtle.com/shaping-curves-with-parametric-equations

Running Locally

The demo can be run locally with:

git clone https://github.com/mattdesl/parametric-curves.git
cd parametric-curves
npm install
npm run start

Then open localhost:9966.

License

MIT, see LICENSE.md for details.