Processing.js for native applications thanks to electron
This sample was inspired by [electron-threejs-example] (https://github.com/jeromeetienne/electron-threejs-example)
Install the latest node.js (w/c also installs the latest npm) from https://nodejs.org
To run the sample, clone this repository, install dependecies and then run.
$ git clone https://github.com/JosephLaurino/electron-processingjs
$ cd electron-processingjs
$ npm install && npm start
Here's index.html which shows one way of embedding a processing sketch.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<script src="bower_components/Processing.js/processing.js"></script>
<canvas data-processing-sources="infinite-arboretum.pde"></canvas>
</body>
</html>The beautiful Processing.js sample is from http://beautifulprogramming.com/infinite-arboretum/
