Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing 4.2 pdez files!! #947

Open
shiffman opened this issue Feb 23, 2023 · 9 comments
Open

Processing 4.2 pdez files!! #947

shiffman opened this issue Feb 23, 2023 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@shiffman
Copy link
Member

shiffman commented Feb 23, 2023

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!

@shiffman shiffman added enhancement New feature or request help wanted Extra attention is needed labels Feb 23, 2023
@dipamsen
Copy link
Member

dipamsen commented Apr 11, 2023

Here is a rough list of steps for implementing this to the site:

@SableRaf
Copy link

SableRaf commented 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#696

@kfahn22
Copy link
Collaborator

kfahn22 commented 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
Copy link
Member

dipamsen commented 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
Copy link

I still face this processing/processing4#698 issue on Windows, due to which there hadn't been any progress on this earlier.

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
Copy link

A fix is ready to be merged here: processing/processing4#854

@shiffman
Copy link
Member Author

Yay! I'd love to have this incorporated into the site if anyone has interest in working on it!

@kfahn22
Copy link
Collaborator

kfahn22 commented Nov 30, 2024

I have added a pull request with the Coding Challenge Processing example sketches converted to .pdez files here.

@shiffman
Copy link
Member Author

shiffman commented Dec 2, 2024

@kfahn22 PR merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants