using Processing.org Java
Hi there! I'm a HS Computer Science teacher and I'm STOKED to use REPL.it with my classes this next school year. We do a ton with Processing.org and I'm wondering if its possible to write processing code and see output in REPL.it?
Did you get processing.js to work with assignments? Because I only get it to work as a standalone repl and as a project.
I use the exact same files (index.html, processing.js and sketch.java) with the exact same code, but in an assignment, the repl doesn't run: "Error running code: Package not found".
I know this is an older post, but I'm trying to do something similar with my middle school CS classes next year. (We've been using OpenProcessing this year, but I'd like to move all my classes onto repl.it if possible.) Your method below works perfectly for me and I can get my classroom examples working in a repl.it HTML/CSS/JS classroom, but I can't figure out how to handle debugging with students. As far as I can tell, any error will just come up as a "script error" with no line number or specific error. How are you working around that with students?
You can also add the p5.js package, which has most of the processing features. If you search for it you can add it as easily as jquery or any other popular js package.
edit the pde file - unfortunately no syntax highlighting. let me know if you have questions! :)
@timmy_i_chen Okay, another question. I've built my first repl.it course and I'd like to use what you've created as a template for a student assignment. I don't see a way to add files to assignments I create. Can I do that?