- Notifications
You must be signed in to change notification settings - Fork83
ondras/primitive.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A JavaScript re-creation of theprimitive.lol application.
Check out theMasterpieces gallery for several cool samples. There is also a dedicatedElectron-based port that works as a regular desktop application.
Written in client-side JavaScript, uses Rollup for JS bundling and LESS for CSS pre-processing.
git clone git@github.com:ondras/primitive.js.git && cd primitive.js
npm install
npm start
Most of the ideas are shared with the original app, described athttps://github.com/fogleman/primitive/. Rasterization is done via HTML5 , which is very flexible but prohibits reasonable parallelization. Web Worker support isavailable but not used at all, as it does not currently bring any performance improvement. This might change in the future.
There are no major missing features nor a roadmap. The UI needs some polishing w.r.t. UX. If you think your feature/bugfix/contribution might be worthwhile, please ask before diving into the code. Performance improvements (measurable) are welcome.