Text area of code and run it in other canvas

RazRaz
edited March 2016 in p5.js

I've seen that in the hello processing that there are exercises. And in this exercises there are two semi-canvases: one is text area where you can write the code, and the other is where the canvas of the code. I need to write something same to this exercise. How can I do this on p5.js?

Answers

  • Look at the p5js examples in the reference. They all do exactly that, so you can just check the source of the page...

Sign In or Register to comment.