Electron port of the primitive.js / primitive.lol application.
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.
git clone https://github.com/cielito-lindo-productions/primitive.nextgen.git
npm install
npm start
After the image is calculated you have 2 options to save the result:
- 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
- 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.
- Batch-processing (Opening, processing and saving of several files at a time)
[Github Publishing](https://sevic.dev/notes/electron-forge-publish-github/)
Rebuild package-lock.json with npm i --package-lock-only
- Adapt version in package.json
- Create tag with same version
- Start action with "Run workflow" and Use workflow from new version tag