Black Lives Matter. Support the Equal Justice Initiative and read our statement here.


Tool to redraw images using shapes (triangles, rectangles ...)


Electron port of the primitive.js / application.


How does it look?

Check out the Masterpieces gallery for several cool samples.


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

  1. git clone
  2. npm install
  3. npm start

Saving of images

After the image is calculated you have 2 options to save the result:

  1. The first one which is selected by default is to save the generated image directly as an image file (option Raster image) - for this after calculating a "Save as" dialog shows up in which you can select the name and folder of the file
  2. Alternatively you can choose the option "vector image" and then copy&paste the image date from primitive.nextgen into a file with the ending .svg (eg. via Notepad++ or another text editor). Then open the .svg file in eg. inkscape, make some edits if you want and save the result as an image file with the ending .jpg, .png or any other format

Hint: According to issue #2 there seem to occur problems on OS X devices with the first option, so please use the second option then.




  1. Batch-processing (Opening, processing and saving of several files at a time)

Something missing? Edit this app.

Keyboard Shortcuts

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab