-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
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
Will tackle this here first, but then I can add this to the Nature of Code website as well!
SableRafbenfry and knupel
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
dipamsen commentedon Apr 11, 2023
Here is a rough list of steps for implementing this to the site:
.pdez
compressed files for all code examples in https://github.com/CodingTrain/Coding-Challengespde://
urls of the.pdez
files (if user has required version of Processing installed (?)).pdez
files on GitHubSableRaf commentedon May 2, 2023
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: processing/processing4#696kfahn22 commentedon Nov 13, 2024
I tried this again. I was able to open @SableRaf test case, so I used his testURIscheme with my Persian-rug sketch and it worked. Should we revisit this?
https://kfahn22.github.io/Persian-Rug/
dipamsen commentedon Nov 13, 2024
I still face this processing/processing4#698 issue on Windows, due to which there hadn't been any progress on this earlier.
SableRaf commentedon Nov 14, 2024
Do you consider this a blocker? If so we could try looking into it, or if you'd like to submit a fix, I'll be happy to review it. We have just released Processing 4.3.1 and resuming development at processing/processing4.
Stefterv commentedon Nov 15, 2024
A fix is ready to be merged here: processing/processing4#854
shiffman commentedon Nov 15, 2024
Yay! I'd love to have this incorporated into the site if anyone has interest in working on it!
kfahn22 commentedon Nov 30, 2024
I have added a pull request with the Coding Challenge Processing example sketches converted to .pdez files here.
shiffman commentedon Dec 2, 2024
@kfahn22 PR merged!
SableRaf commentedon Mar 25, 2025
Hey @shiffman!
I just wanted to update you on the improvements to the URI schema that we are shipping in 4.4.1 (currently available in Beta) thanks to @Stefterv's amazing work 💙
The new Schema will let you dynamically create
pde://
links.It supports Base64 encoding for shorter sketches, and linking to multiple
.pde
or other assets.This entirely bypasses the need to generate
.pdez
files and opens the door to some really fun possibilities!See more: https://github.com/processing/processing4/blob/main/SCHEMA.md
dipamsen commentedon Mar 25, 2025
That's very cool, the URL option is very helpful here!