using Processing.org Java
matthewalangree (2)

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?

You are viewing a single comment. View All
matthewalangree (2)

It seems that I could also use this javascript library which will translate my Processing.org Java code into javascript. How do I do that? https://raw.githubusercontent.com/processing-js/processing-js/v1.4.8/processing.min.js

timmy_i_chen (989)

@matthewalangree processing.js is probably the closest you'll get to using processing on Repl.it at the moment. Here's an example:

https://repl.it/@timmy_i_chen/processing-js-example

edit the pde file - unfortunately no syntax highlighting. let me know if you have questions! :)

matthewalangree (2)

@timmy_i_chen This is a great start for me. Thank you!

matthewalangree (2)

@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?

timmy_i_chen (989)

@matthewalangree What kind of classroom did you create? If it supports multiple files, you should be able to add a new file in the top-left corner of the workspace

timmy_i_chen (989)

@matthewalangree Ah, you'd have to create a new HTML/CSS/JS classroom. This can all be done on your teacher dashboard (https://repl.it/teacher)

Hexer (31)

@matthewalangree Processing.js is great! Here is somthing I made for a comptetion here on repl.it with it! https://repl.it/@Hexer/2-Player-Flappy-bird

So don't worry! Processing.js is capable for a lot of things!