Hacker News new | ask | show | jobs
by rchaud 1152 days ago
p5.js is to Flash....what D3.js is to making a bar chart in Excel. Here is the code required to just render a circle in p5:

>function draw() {

> stroke(50);

> fill(100);

> ellipse(x, y, 24, 24); }

In Flash you would just click the Oval icon and draw one.

1 comments

True true, now draw a ellipse programmatically or line that follows the mouse in Flash and you'll see this flip round and P5 is easier.

Both have their benefits, P5 is far superior for creating interactive digital art or creative tooling. Flash is far better at creating intricate animations.