Skip to content

security-companion/primitive.nextgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

primitive.nextgen

Electron port of the primitive.js / primitive.lol application.

logo

How does it look?

Check out the Masterpieces gallery for several cool samples.

Building

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

  1. git clone https://github.com/cielito-lindo-productions/primitive.nextgen.git
  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.

License

MIT

TODO

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

Additional resources

[Github Publishing](https://sevic.dev/notes/electron-forge-publish-github/)

Hints

Rebuild package-lock.json with npm i --package-lock-only

Create a new release

  1. Adapt version in package.json
  2. Create tag with same version
  3. Start action with "Run workflow" and Use workflow from new version tag