A simple electron application which displays a cat picture 😼.
You can draw a polygon in the image area with the mouse; To do that follow the steps bellow:
- Click over the picture and hold it
- Start dragging over
- Release the mouse click
- It will automatically complete the polygon and fill it out with a default color with opacity
You can aslo save the picture by pressing the P key
To run the application just type in the console (without the dollar sign):
$ electron app.js
You previously must installed the required packages with npm install.
This is just an implemetation of the workshop Elementary electron posted as well in NodeSchool