Starter code for tutorials
I am currently working my way through the p5js tutorial playlists. I am half way done and something I noticed is that although I can find the finished code under this repository, the starter code is not there. By starter code I mean the code Dan starts his tutorials with. I often found myself pausing the video at the start to type out the code from his screen, and then began to follow the tutorial.
I think it would be a good contribution for someone to also add the starter code of each tutorial. So then students can download the starter code, and follow along the video and update it. I can do this for future tutorials I go through and do a pull request later on if this seems like a good idea.
@JAnken123 Yes, essentially the code Dan starts his video with. In that video you linked there isn't much and he is starting from scratch. But in other videos he has some code setup and begins from there. Many of the times the code is from a previous video, or it is setup particularly for the video.
For example in this video Dan starts with a program that places circles on the screen when clicked. It would be nice to be able to download this starter code and follow the video from there.
I have a folder called _template_, that has the attached files in it. Every time @shiffman yells "all aboard", I copy this folder to a folder of the name on the side of the train.
Note that you need to update the title in the index.html file.
(zip removed: use the one below)
The above example points to my local copies of p5.js. But, I have updated the template to use CDNs for the libraries (with sha integrity checks) Updating the above .zip file with the below. template.zip
Hey everyone!
This repository manages the Coding Train website, it isn't the right place for asking questions. The best things you can do is join our discord.
P.S. Sorry for the late reply, we didn't use the issue section of this repository for a long while.
Hope to see you there!
