In OpenProcessing, make sure your "mode" is set to "p5js" - you'll find that on the left of the page. If your code works on the p5js editor, copy and paste it into OpenProcessing's editor, and it should work too. OpenProcessing has an editor too, but I didn't find it as useful as the version above. You'll also want an editor that provides decent console feedback to help guide yourself in what to edit and which line to do it on. Cross-reference that with the p5.js reference sheet, using the introduction link above as a basis to figuring out how to reformat Java into p5.js code yourself. Read through this processing transition page to find out the basics of how to start converting Java into p5.js. Let me reiterate: if you want to upload your project to OpenProcessing, you'll need to convert your Java code into p5.js code, which OpenProcessing can understand (you know, since OpenProcessing uses p5.js). This is an introduction to converting Java into p5.js, a language that can understand.įirst of all, it's relatively easy converting Java to p5.js, but there's no automatic process (none that I found, anyway) - you'll need to do it by hand. In the end, I decided to upload my project to so that I could use it's iFrame embed link for my website. Thought I'd update on what I've learned through my own experimentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |