Animation in Python mode

By P5 I assume you mean p5.js :smile:

I have been learning p5.js for the last few months and I have discovered that is just as capable of producing animations as Processing in Java mode. OpenProcessing is full of p5.js sketches many demonstrating 2D/3D animations. Several sketches in my OP portfolio were based on ideas I first implemented in Java mode.

There are some points worth mentioning

You will have to learn Javascript

  • Javascript sketches can be slower than the equivalent Java sketch
  • Producing syntax error free code is harder in Javascript compared with Java
  • p5.js reference documentation is more difficult to navigate round a topic

Personally I am enjoying programming in p5.js and Javascript and I am unlikely to go back to Java mode now. :smile:

2 Likes