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 · 2 comments
Open

Processing 4.2 pdez files!! #947

shiffman opened this issue Feb 23, 2023 · 2 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:

  • 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

@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: benfry/processing4#696

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

3 participants