Creative Coding

Class page for IDM NYU DM-GY 6063

Syllabus
Weekly Schedule

View this Project on GitHub

Getting set up with VSCode, GitHub and GitHub Pages

Github

GitHub provides the infrastructure for this course. It is how I will share assignments and examples with you, and it is how you will submit your own notes and assignments. It also allows you to publish your content to the web easily through something called GitHub Pages.

VSCode

VSCode is the code editor we will be using in this class. It is essentially a fancy text editor that is streamlined for editing code. While you can technically edit code in any basic text editor, VSCode is nice because it can auto-format your code, it color-codes different elements of your code, and you can preview what you’re working on in the editor.

The easiest way to install extensions is to click on the extension icon in the code editor, and to search for the extensions by name, after which you can click the “install” button. (video)

Creating a course repo

Everything you do in this course will be contained in one folder on your computer. A GitHub Repository or “repo” is a folder that you can synchronize to a server. This serves as a version control mechanism, a storage/backup solution, and a method to share and publish your work. I’ve shared a template repository that has everything you need in it to get started writing code in p5.js. You can create a new repository from the template using the following steps:

Cloning your repo to your computer

Opening your folder in VSCode

Committing and pushing in GitHub Desktop 

Testing the setup

Submit a link to your github repo with the changes on this spreadsheet to demonstrate that you’ve successfully pushed your changes to Github.