A simple JS application using WebGL2 that renders a bezier curve. Control points can be added and removed and the curve may be subdivided, using the provided controls.
Open the index.html
file located under ./dist
to launch the application. Further instructions are found inside the webpage.
Author: Viktor Kostadinov
This work is distributed under an MIT license. Code snippets for the creation of the GLWrapper class have been taken from the MDN example repository.
The source can be located inside ./src
. After installing all dev-dependencies, you can launch npm run build
from the console to compile the project. The packed bundle will be inside ./dist
.