processing java vs javascript code example
Example: is processing better than p5.js
i think it is. Though there are some major differences between them.
Processing - making a circle
void setup() {
size(600, 600);
}
void draw() {
background(
circle(x, y, sizeX, sizeY);
}
p5.js - making a circle
function setup() {
createCanvas(600, 600);
}
function draw() {
background(
ellipse(x, y, sizeX, sizeY);
}
these are just a few differences that I've noticed between the 2 editors
though they are both awesome. I would say that processing runs faster,
but that might just be me.