Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

JS port of primitive.lol

License

NotificationsYou must be signed in to change notification settings

ondras/primitive.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A JavaScript re-creation of theprimitive.lol application.

How does it look?

Check out theMasterpieces gallery for several cool samples. There is also a dedicatedElectron-based port that works as a regular desktop application.

Try it now!

At a dedicated demo page

Building

Written in client-side JavaScript, uses Rollup for JS bundling and LESS for CSS pre-processing.

  1. git clone git@github.com:ondras/primitive.js.git && cd primitive.js
  2. npm install
  3. npm start

About the algorithm

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.

License

MIT

Contributing

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.


[8]ページ先頭

©2009-2025 Movatter.jp