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 upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
documentation help wanted! #2865
Comments
For anyone who wants to work on adding missing examples and doesn't know where to start, this seems to be where there are still examples missing right now:
|
I would love to help out porting the tutorials from processing (https://processing.org/tutorials/) to p5. @lmccart I can work on more text based tutorials such as "typography" and "strings and drawing text" since I noticed they are still missing. Or do you have a particular one you would like me to start on first? |
@faithwyu that would be great! |
I'm going through the processing.org examples - some of the stuff that is missing seems to address the language itself as opposed to the library. For example, processing.org talks about "Integers and Floats" and "Datatype Conversions". Should I make Javascript equivalent entries like "Numbers" and "Dynamic Types"? |
@raulgrell good question. not yet. we're not set up with the right website/reference infrastructure yet to be able to display those correctly. |
Hi, I'd like to work on porting the examples from the processing example page to the p5.js example page. |
|
@lmccart I will start with porting the Data: Integers and Floats example. |
@lmccart Should I call this example Data: Numbers instead? Since there is only the Number datatype for numbers in JavaScript. |
@cecilebertin that makes sense to me |
Hi @lmccart, I made a pull request for the Numbers example. |
@lmccart - I was trying to ask the same question as @cecilebertin, but I seem to have suffered a momentary lapse of eloquence =P Unfortunately, that also means I'm not sure I understood your reply. Did you mean you don't yet have a way to show something like console output? |
@raulgrell oh! i'm sorry, i misread and thought you were talking about the processing reference entries where they have entries for "String" or "Float". now I have reread and realize you are referring to the examples page. yes, I think that makes sense to rename as you suggest! |
So sorry @raulgrell !! I didn't see you wanted to work on this. I only checked the issues in the processing/p5.js-website repository to check if someone was working on this example. |
@lmccart @cecilebertin No worries, I could have been clearer! There are still more examples to do =) I'll send a PR for Strings, and possibly something for Data Types as well that deals with type coercion and whatnot |
thanks everyone! |
Oh dear, I completely forgot about this! That weekend I participated in a Game Jam where we actually used p5 to make a little neuroscience experiment disguised as a game and I never got round to finishing the examples... check it out: https://github.com/raulgrell/NeuroJam Unfortunately, I've got a big presentation for uni on Monday and I won't be able to dedicate any time to this right now... |
thanks @raulgrell no worries. we'd welcome the additions anytime, no rush. thanks for sharing the game jab result, it's great! |
Can this be updated please? Thank you. |
actually, reopening this because I think it's a nice issue to have around for people looking for ways to help out |
@lmccart Could you please update this link: https://github.com/processing/p5.js-website/wiki/Adding-examples ? It is mentioned on the Contributing docs under section "Make examples". Visiting it redirects me to the p5.js-website github repo. Also, is there a running list of missing ports as was mentioned in this comment? There seem to be quite a lot of examples that have been covered on both sides, and it seems to hard to be able to possibly check each and every sketch for inclusion. |
I've updated the text and linked to the page where we have all this info in more complete and correct form. Thanks! |
@lmccart Hey thanks! Could you please also link to the list of examples that are yet to be ported? |
@GaurangTandon The list of examples needed and info about how to generate them is in the first paragraph on the adding inline documentation page |
@lmccart Hi, I'd like to regain access to edit the "JavaScript basics" Wiki. I'm helping someone else learn JavaScript and I re-read it in the last few days, and there are some small improvements and corrections I'd like to make. Thanks. |
hi @grege2 sorry for the delay, you should have received an invitation that will give you edit access to the repos and the wiki. thanks! |
Hi @lmccart thanks, no problem re delay. Really enjoying my involvement with p5.js, I'm coding it with it several hours a day the last few months, on a large project of 4000 lines I'm collaborating with someone else on, not actively looking for bugs or doco/examples errors/typos although if only there were 48 hours in the day I could. Congrats on the 0.9.0 release, nothing broke for me in the upgrade from 0.8.0, not that that's critical in beta, but starting to look really tight product. Thanks for the edit access. Ciao GE |
Hey people, is there any specific section of the documentation that needs some work? I'd like to take a dig if there's any. |
Hi @mbtamuli thanks for the interest! You should definitely start off by checking out the contributing documentation readme. Also any issue tagged 'documentation'. This might be a good issue to start with. Good luck! |
Hello people, I would like to work on the documentation. If there is any specific task for a beginner then please guide me, I am more than happy to contribute. |
Hey guys, i want to contribute to this project. To start with i am working on updating description and adding examples for p5.Geometry.js. |
Hey guys, while updating documentation, i am facing 2 issues, if somebody can check and verify if these are legitimate bugs or just something wrong with my setup.
|
@fenilgandhi Is this the development preview of the documentation that is hosted in this repo (as opposed to the one on the website repo)? If so it could very possibly be that some of the code that is stored in this repo for the documentation preview has gone out of date and wasn't able to render the reference correctly. |
Yes @limzykenneth, it is the development preview of documentation in this repo. If that may be the issue, I would like to fix it, can you give me some pointers on where to start looking from ? |
The code for rendering documentation in this repo is here, while that is generated (awhile ago) from the original templates and scripts, now moved over to the website repo, here. Honestly the codebase is quite convoluted so there's no pressure for you to fix it now, I do plan on doing some clean up next time I have some free time on my hand, but if you can that'll be a great help! |
Thank you soo much @limzykenneth. I think i would learn a lot fixing it so i would really like to have a go at it. Will get back to on it soon. |
Has anyone completed this? Could I try tackling this issue? |
@ykabusalah you are welcome to contribute documentation, just open a pull request and we can review. |
Oh hey, @ykabusalah, Yes i have solved the issue with CSS overflow for canvas over here. processing/p5.js-website#580. But the docs in development mode can definitely benefit from some CSS updates. So feel free to work on it and open a PR. |
Alright awesome. I'll do that. Can you assign me? @fenilgandhi |
@ykabusalah we're not assigning people via the interface for this one because more than one person can work on it at once, and we don't want to discourage them. but you consider yourself "assigned" :) |
I have some thoughts and would like your feedback if possible: The asterisk-design-element on the https://p5js.org/get-started/ page causes an accessibility issue; the language controls are inaccessible to color blind users due to the colors of the asterix and the color of the languages. Either move the asterix below the language or change colors of the language bar on that page
|
Could someone provide some guidance of what needs help with documentation rn? I really want to start contributing to the community, but most of the open issues right now are either already being worked on or out of my experience range. Thanks! |
thank you @Rizz0S, i think the most straightforward help to contribute, |
Hello I noticed a tiny incoherence in this reference page and decided to fix it (in a way that makes sense to me). I created a pull request draft #4817 and would appreciate if I could get some feedback on it :) Best, |
Change distance example to be more reasonable (addresses #2865)
Hi👋 👋 👋
We are using this issue to focus on documentation! Documentation is essential for new learners and experienced programmers alike. It helps make our community inclusive by extending a friendly hand to those that are less familiar with p5.js. It also helps us find the bugs and issues with the code itself, because we test and try things out as we document.
There are several ways to contribute, you can read more about them on this page.
If you are adding some documentation, please comment below. And don't forget to add yourself to the contributors list!
Welcome! We're so glad you're here!
❤️ the p5.js community