thecodingtrain.com
thecodingtrain.com copied to clipboard
Processing 4.2 pdez files!!
Wow! Processing 4.2 adds the new pde:// protocol which allows you to open Processing sketches in the PDE directly from the browser!! We should implement this into the site for all video pages!!
See: https://github.com/processing/processing4/releases/tag/processing-1292-4.2
cc @benfry @SableRaf
Will tackle this here first, but then I can add this to the Nature of Code website as well!
Here is a rough list of steps for implementing this to the site:
- [ ] Create
.pdez
compressed files for all code examples in https://github.com/CodingTrain/Coding-Challenges - [ ] Add functionality to the website to link to
pde://
urls of the.pdez
files (if user has required version of Processing installed (?)) - [ ] Update content json files to link to
.pdez
files on GitHub
Quick update to share my reference implementation for the Open in Processing
button:
https://sableraf.github.io/testURIscheme/
Notice the tooltip that serves as a fallback in case Processing is not installed.
We could also consider having a separate button for downloading the sketch.
Note: support for pde://
on Linux is still pending but this Pull Request should solve the issue: https://github.com/processing/processing4/pull/696