Looking to blur the line between technology and art, the Sandpit library for creative coding uses JavaScript and the canvas 2D element.
Accessible on GitHub or via NPM, and built in ECMAScript 6, Sandpit is still in development with an API likely to change before the 1.0 release. “The goal of Sandpit is to normalize and simplify the process of creating coding — using code to make pretty things,” the documentation states. “This usually takes the form of drawing onto the Canvas element, in either a 2D or 3D context.” Sandpit uses the dat.GUI, a lightweight GUI for changing variables in JavaScript, to manage settings.
To read this article in full or to leave a comment, please click here
Source: News Feed