question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dom.js Vs p5.dom.js

See original GitHub issue

I started to have a glance to the code, documentation, etc and this is, more than anything else, a curiosity (affecting both this and processing/p5.js repos):

seems that at some point p5.dom.js (previously tracked as p5.js/lib/addons/p5.dom.js (currently returning 404) became dom.js at p5.js/src/dom/dom.js.

Looking at dom.js history I tracked the switch from p5.dom.js to dom.js

Is this right? If so, I found a few inconsistencies both on the site and in processing/p5.js repo documentation.

Following here, what I found so far.

or you can download the single file here.

I guess the linked one is an old version (p5.dom.js v0.3.4 Jan 19, 2017) and the right link should be p5.js/src/dom/dom.js.

is an internal function in p5.dom.js (returning 404, same fixed link as previous point)

Being this confirmed, I’d be happy to fix any inconsistency I found/will find.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
limzykennethcommented, Sep 27, 2019

Generally github issues would be a good place but do have a quick search on the issues page to see if someone has already asked similar questions and you can follow up on those specific issues instead.

1reaction
lmccartcommented, Sep 25, 2019

@maxdevjs we also have milestones / releases charted here: https://github.com/processing/p5.js/milestones

Read more comments on GitHub >

github_iconTop Results From Across the Web

reference - P5.js
p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.
Read more >
JavaScript p5 and the DOM
JavaScript p5 and the DOM. • To date we have always used the “canvas”. • Everything is drawn to the canvas. • Use...
Read more >
P5.dom.js (controls) · Coding Projects with P5.js
js that allows you to add DOM (Document Object Model) elements to your sketch. These DOM elements include controllers such as sliders, buttons,...
Read more >
Processing.js vs P5.js - What's The Difference? - SitePoint
TL;DR: P5 is a direct JS port of the Processing language. Processing.js is a converter which interprets pure Processing code into JS on...
Read more >
Manipulating DOM Elements with html() and position() - p5.js ...
This video shows how to change the content of an HTML element using html() or set its position using position(). These functions are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found