Skip to content

Update “Getting Started with Node.js” tutorial for p5.js 2.x #837

Open
@perminder-17

Description

@perminder-17

Most appropriate sections of the p5.js website?

Tutorials

What is your operating system?

Linux

Web browser and version

Firefox

Actual Behavior

The “Getting Started with Node.js” tutorial is still using p5.js 1.x patterns (e.g. preload(), old APIs, external sketches locked to 1.x). Legacy p5.js 1.x APIs (e.g. old shape-drawing signatures) remain in the code samples. Several external Web Editor sketches are locked to p5.js 1.x and won’t run under 2.x.

Expected Behavior

Since p5.js 2.0 has removed preload() and other legacy methods in favor of async/await and updated several APIs, we need to refresh this tutorial so it only uses supported 2.x functionality. Every linked sketch should has been forked (or updated) to use p5.js 2.x so examples execute correctly.

Steps to reproduce

No response

Would you like to work on the issue?

Looking for volunteer

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingDocumentationImprovements or additions to documentationGood First IssueGood for newcomersHelp WantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Ready for Work

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions