Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDOM examples not executed in the reference #4645
Comments
|
Hi |
|
Hi @1lias! I hope you and your loved ones are safe and healthy! The reference is generated in the p5.js repo you can learn more in the inline documentation section of the contributor docs. The code for all the DOM examples in the reference mentioned above is in p5.js/src/dom/dom.js. |
|
The reference examples for |
|
I think it will also require re-thinking some of the examples so that they look good once rendered on the site. |
Thankfully we are all safe and sound @lm-n |
|
To view the reference you can run |
|
Hello! Wanted to see if I could tackle some of the examples (except for the ones @1lias might be currently working on, of course). Are there any examples up for grabs? |
|
@pedrotpo As far as I know, there isn't any of them that are being worked on. If you like, leave a comment here with a shortlist of examples you are working on then we can track who is working on what. Thanks! |
|
I'm doing some work on the CSS at the moment as things are not looking right on the website. Maybe you will need to wait until that is done, I'm estimating a couple days to finish. |
|
Ok! I will wait then. |
|
@Aloneduckling The changes are merged now so you can start with this if you like. |
|
Ok thanks! |
|
hello! I have created a pull request. Please check it. |

Most appropriate sub-area of p5.js?
Feature enhancement details:
Currently, several DOM examples are not executed in the reference. It is always helpful to have the example code executed so that novice programmers can get a clear idea of how the code works. For some examples, making them work and look good might require small changes to the code, especially when canvas size is greater than 100x100 and when DOM functions add HTML elements that take a lot of space (i.e.: go beyond 100x100 px).
Here's a list of the examples that could be executed: