Writing py5 tutorials and how-to documentation to support new creative coders #101
Replies: 8 comments 32 replies
-
Thanks, Zelle. I think you should also amend the https://github.com/marcovicci/py5book/blob/main/_toc.yml file, so we can see how the contents will look ordered/arranged on the site. It'll be a long list of items to add to the contents, and I recall discussions about accordion/expanding sections to accommodate things better. Also, it'll help us consider how we best arrange the content sections. |
Beta Was this translation helpful? Give feedback.
-
Added first passes at Iteration with loops and Randomness, as well as updating https://github.com/marcovicci/py5book/blob/main/_toc.yml with this utterly huge new list of stuff. https://github.com/marcovicci/py5book/blob/main/tutorials/iteration_with_loops.md https://github.com/marcovicci/py5book/blob/main/tutorials/randomness.md |
Beta Was this translation helpful? Give feedback.
-
I like your organization, this is a good outline of all of the topics.
Let me know if you have issues with broken images, or images that work in the Jupyter notebook but aren't correct after Jupyter book gets built. The Makefile calls a post_build.py script to make some small adjustments and corrections. Currently it isn't adjusting any image links but I recall needing to do so in the past (I can't quite remember why though). |
Beta Was this translation helpful? Give feedback.
-
Added first passes at Animation and Motion, and Transformation and Matrices (which is now spelled correctly)... https://github.com/marcovicci/py5book/blob/main/tutorials/animation_and_motion.md https://github.com/marcovicci/py5book/blob/main/tutorials/transformations_and_matrices.md These ones are weird and lengthy, and especially when dealing with matrices, I'm a bit less confident in what I'm describing (life rarely asks me to do complex maths). The students will test it all soon enough! Animation and Motion also includes an introduction to setup() and draw(), since all other tutorials so far have been using static mode. I suspect I may have to revisit that introduction in other tutorials that require it, in case people do a lot of jumping around. |
Beta Was this translation helpful? Give feedback.
-
Wow, wonderful stuff @marcovicci! Thank you all folks! Should the binder thing work on the fork? Like this https://mybinder.org/v2/gh/marcovicci/py5book/HEAD?urlpath=lab ? The colors part took me by surprise because I'm so used to |
Beta Was this translation helpful? Give feedback.
-
It looked like it never finished loading properly, but I'm not sure.
…On Sun, 31 Jul 2022, 14:57 hx2A, ***@***.***> wrote:
Should the binder thing work on the fork? Like this
https://mybinder.org/v2/gh/marcovicci/py5book/HEAD?urlpath=lab ?
I would expect it to work but if you are the first person to attempt this,
it will be slow as it builds the image. Are you seeing an error?
—
Reply to this email directly, view it on GitHub
<#101 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4GADHRISODCIXMXNDRRTDVW25A3ANCNFSM543LRLMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Long time no see! (Still writing, of course -- newest finished update is Mouse and keyboard interaction -- but I had a bit of a break where not much happened.) I'm back in the saddle and will be adapting the tutorial for custom functions soon. Yay! @hx2A Tristan and I were wondering if I should do a pull request for one or two roughly finished tutorial pages? This could let us see how things are actually looking and whether something in my formatting is going to present problems overall, and give a pull request page to include in the Processing foundation's GSOC22 wrap-up post. Maybe the page on iteration/loops or randomness (as beginner introductions which use Static mode)? Or the Animation/Motion page? Let me know what you think I need to do to push them a bit farther along! |
Beta Was this translation helpful? Give feedback.
-
@marcovicci I hope you are having a good day today! I just merged your PR into a new branch zellegsoc. Then I ran the build and deployed to the dev site: Please pull from the zellegsoc branch and continue your work from there, and make the next PR against that. Moving forward, I'll approve your PRs as you make them so we both can have a current branch to work with. A few things you'll notice on the dev site:
Let me know if you have any git issues and I will help you! Have a good day, and thank you for your hard work! |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm Zelle! If you recognize that discussion title, it's the truncated form of "Writing py5 tutorials and how-to documentation to support creative coders new to Python and/or new to the Processing ecosystem", a project supported by the Processing Foundation alongside their Google Summer of Code 2022 offerings: https://medium.com/processing-foundation/announcing-google-summer-of-code-2022-projects-and-a-few-more-77043ab4d0b4
Learning how Jupyter Notebooks functions has been strange, but I return with progress and delight (it feels really good once you actually get into it). I've made the following placeholder pages in my fork of py5book's "tutorials" folder, representing eighteen different tutorials that will hopefully get just about anybody up and running in py5.
The following pages tentatively use the py5 kernel instead of py5bot, since this is where we introduce sketches with setup() and draw(). I believe there are other syntax differences that will need to be addressed, but I'll feel it out as we go...
Because I've been writing week-by-week, and in larger chunks than these pages represent (running through several pages worth of material each Monday), I have actual content to move into them up until Randomness and will soon have more. Not all these files will be populated in a linear order, since the structure of the class is a little different - notably, mouse and keyboard interaction will be filled in quite a bit later than the surrounding stuff. So it goes.
A good initial example of the content of these tutorials is the Conditional statements page, which has a first pass complete. (As each tutorial is moved into the correct page, I'll also be creating corresponding folders for them inside of the "images" folder, since that makes sense - and what even is py5 without visual examples?)
https://github.com/marcovicci/py5book/blob/main/tutorials/conditional_statements.md
None of this is any good unless there are eyes on it, of course, so it's all fair game for discussion and suggestions. I'll be continuing to move content into the right places - as of writing this, the beginner coders at Massey have learned about 2D primitives, variables/data types, drawing more complex shapes, and working with text, and they've taken to it amazingly well, which makes me very optimistic!
Beta Was this translation helpful? Give feedback.
All reactions