website-archive icon indicating copy to clipboard operation
website-archive copied to clipboard

Starter code for tutorials

Open hammadshaikhha opened this issue 8 years ago • 5 comments

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.

hammadshaikhha avatar May 06 '18 19:05 hammadshaikhha

I took a look at the latest video to try and understand what you meant. Are you referring to this?

image

ankarhem avatar May 16 '18 13:05 ankarhem

@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.

hammadshaikhha avatar May 16 '18 16:05 hammadshaikhha

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)

FriskyDev avatar Dec 31 '18 20:12 FriskyDev

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

FriskyDev avatar Jan 01 '19 13:01 FriskyDev

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!

KobeLiesenborgs avatar May 16 '22 20:05 KobeLiesenborgs