processing / processing/p5.js-web-editor

Feature request: API to create a sketch and send code for it

Open
#663 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Help Wanted
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

New feature details:

I am working on a project that helps transpile Processing Java code to p5.js. It would be awesome if there were a way to allow a user to click a button that redirects them to this site with their code already pasted into the editor. Perhaps making a request to a URL with the body as their project code could create a new project and redirect them to it, or something like that.

(If I have time, I can work on this feature myself -- right now I'm still finishing up the other project, so I thought I'd toss it out here to gauge interest!)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the p5.js Editor and its editor, but no files or tests. Start by locating the sketch-creation and routing entry points, then clarify the URL/request contract for submitted project code. Done means an external request can create a sketch and open it in the editor with the code populated.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.