README.md 1.01 KB
Newer Older
1
2
# THIS BRANCH IS ONLY FOR TESTING AND DEMONSTRATION OF MULTICORE-USE!

Julian Frosch's avatar
Julian Frosch committed
3
4
# BezLinApp for node.js and electron
This is an application written with node.js and electron that tries to do a piecewise linear approximation on Bezier curves in a given SVG-file.
5
6
7
8

## How to start
Before starting, npm is required.

9
In order to test the program, clone the repo, cd into it's directory and run
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
```
npm install
```

This will download the dependencies and create a folder *node_modules/* with their data.
Next you can run
```
npm start
```
or
```
electron .
```
to start the application!

Julian Frosch's avatar
Julian Frosch committed
25
## Using the app
26
You will see the window with a *Hello World!*-Greeting and some text on the left and the developer-tools on the right.
Julian Frosch's avatar
Julian Frosch committed
27
You can just drag an SVG-File (example-file is in the res/-folder) directly onto the "Drag your SVG-File here!"-Text on the left side. Once done, the program will read the data of all paths in your file (may get an error warning if there is no such data... duh) and show the parsed data in the "console" on the right side :)