is processing better than p5 js

Solutions on MaxInterview for is processing better than p5 js by the best coders in the world

showing results for - "is processing better than p5 js"
Alex
27 Jun 2020
1i think it is. Though there are some major differences between them.
2
3Processing - making a circle
4
5void setup() {
6	//difference here:
7    size(600, 600);
8    //in p5 this would be createCanvas
9}
10
11void draw() {
12 background(//anything you want);
13 //ellipse or circle
14 circle(x, y, sizeX, sizeY);
15}
16
17p5.js - making a circle
18
19function setup() {
20	createCanvas(600, 600);
21}
22
23function draw() {
24	background(//anything you want);
25    //ellipse or circle
26    ellipse(x, y, sizeX, sizeY);
27}
28
29these are just a few differences that I've noticed between the 2 editors
30though they are both awesome. I would say that processing runs faster, 
31but that might just be me.