-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
reference items that need examples #1954
Comments
Fix for part of #1954: weather api -> earthquake api in loadJSON example
Hi, I would like to contribute to p5js by adding examples listed in this issue. I have made an example for httpDo() method as my first contribution. Thank You. |
@Thzn glad you want to contribute, thanks! In addition to the wiki section listed above, you may first want to check out this hello world github introduction and the other github guides and then watch the looking inside p5.js videos to get an overview of the file structure and tools of p5.js. this section of the wiki explains how to add examples into the source code. |
@lmccart |
hi! what is the proposed workflow for testing and adding examples? should i write them in a separate context and then copy paste into the inline comments? i'm trying to build and view the documentation locally (by following https://github.com/processing/p5.js/wiki/Inline-documentation#adding-example-code) to verify that my example works, but am having no luck. (getting this: am i going about this wrong? thanks! |
@outofambit sorry that was out of date. running |
@lmccart thanks i'll give that a try! update: it works great! |
@Thzn are you still working on the HTTP methods? In the meantime, I'd like to contribute the Element/elt, Element/class, and Element/removeClass! |
@austince |
Been meaning to return to this for a while. |
…ki about previewing docs issue #1954
This section https://p5js.org/reference/#/p5/createVideo also lacks an example, which may also relate to #1844 |
#1954: added an example for createVideo(), with video assets
Hi! I will be working on the p5.Table.js and p5.TableRow.js references. Please let me know if you already started working on any of them so we can work together! |
@AdilRabbani those functions will be called when the sketch is in WebGL mode, so maybe you can create WebGL versions of those examples. Get concensus with @Spongman or @kjhollen first maybe as they may still be working on those functionalities. |
@AdilRabbani documentation for the renderer doesn't appear in the user facing documentation, so I don't think it's necessary to write examples there. However, the vertex method in general only has one example at the moment, and doesn't show any of the configurations for webGL. Maybe you can work on adding some there? in core/vertex.js. |
just be aware that WebGL-mode support for some of the beginShape modes is a little spotty right now. hopefully this should improve a little with #2670. the current list of methods missing examples is:
i think it would be nice, once all these are fixed, to turn this message into a build error to ensure that all future additions to the library include an example. |
Added examples for vertex method. #2798 |
Hi, I'd like to add some simple visual interactive examples for the p5.Vector methods. Here's a list of examples I'm hoping to add. |
@aatishb nice, could use a little |
thanks for the help everyone! closing this one as #2865 seems to cover this with clearer explanations |
Is this issue still opened? Is anyone else working on it? |
Yes, here's a more up to date issue: #2865
|
this wiki section contains info on how to add examples. anyone, please feel free to add to this list with reference entries that could use examples added.
The text was updated successfully, but these errors were encountered: