Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IDE for Processing.js

I'm just getting started with processing.js and neither of the IDEs I use (Aptana, NetBeans) are able to understand the JavaScript syntax processing uses. What is a good editor to use when coding processing.js? At minimum I would like code folding and coloring.

like image 562
Rigil Avatar asked Jan 13 '11 08:01

Rigil


People also ask

Can you use JavaScript in Processing?

The previous method produced JavaScript code from Processing, but you can also write JavaScript on its own. The Processing. js parser turns Processing code into a JavaScript function, then runs it.

Does Khan Academy Use Processing JS?

In our Drawing & Animation curriculum, we use the open source ProcessingJS library to do the drawing and animation.

Is p5 js the same as JavaScript?

The p5.js is a JavaScript library for creative coding. A collection of pre-written code, it provides us with tools that simplify the process of creating interactive visuals with code in the web browser.


2 Answers

Depends on what you want to do, but did you have a look at the Web IDEs on the processing.js website?

  • www.sketchpad.cc
  • www.hascanvas.com
  • sketch.processing.org

jan.

EDIT: sketch.processing.org is a broken.

like image 108
jandot Avatar answered Oct 09 '22 11:10

jandot


If you plan to use Processing.js with processing's original Java-based syntax then the best IDE is going to be Processing. The 2.0 alpha versions have a JavaScript mode that you can switch into and will make the workflow easier. It will not provide features such as code completion that you are used to with NetBeans etc. There is no IDE that will give you those features with that syntax and writing normal Java will not translate correctly.

Processing.js is really a JavaScript implementation of the Processing API, it just has and additional feature for converting your Processing java-style code into JS. If you write your Processing.js applications directly in JavaScript you will be able to leverage some additional features from IDEs such as Aptana, but of course your code will not compile into a Java Application / Applet. Their JS Quick Start Guide introduces this method.

like image 27
hapticdata Avatar answered Oct 09 '22 11:10

hapticdata