It borrows ideas from Processing and tries to create similar novice and artist friendly environment.
Neutron is based on Electron, so you get everything that Chrome and Node can give you! (Native packages are sadly not supported right now, Neutron ships with ones I use for workshops often:
I've also made a longer write-up about ideas and process behind building this: building neutron
Neutron is a self-contained node & npm application made for quick prototyping and teaching.
To make Neutron work a bit more like Processing, I've decided to expose a simple wrapper around Electron functions, this allows me not only to get the window size, but move it around the screen, get displays, access mouse position outside of a window, and more.
Building Neutron was painful at times, especially the week I've spent trying to figure out native modules. I believe this tool will be useful for others, for both sketching and teaching.
Neutron was born out of two main needs:
Neutron is based on Electron — basically a programmable Chrome window with
This gives us best of both worlds: file system access with
require('fs'), full node support, and a window which can render HTML.
Neutron wraps this functionality in easy to use application.
I also got a chance to test Neutron in the wild — I've added syntax based error checking and better support for Windows, which wouldn't have happened if I didn't seen the problems students had while using it.