ART 2210 Creative Coding is an applied course that focuses on creating internet based projects that impact media and culture. Students will learn current web design and development workflows with an emphasis on networked interaction and visualization. Current trends in online media will be examined with special attention paid to how projects can exist on multiple platforms such as mobile phones, tablets, and desktop computers. Through in-class exercises, projects, critique, hands-on workshops, readings and discussion we will explore the role of the digital artist/designer in a constantly evolving digital landscape. Students will develop an understanding of web technologies in order to implement creative systems.
cd /to/where/you/store/your/classwork
For instance, a “Creative Coiding” folder inside “(My) Documents” would work well.git clone <repository url>
The URL here should be for the repo GitHub made for you in the first step.ls
to get the names of the files in this foldercd /to/the/name/of/your/repo
You can see what your repo is called from the output of the previous command.File > Open
or by using something like code .
in terminal if you’re using VS Code and have command line capabilities installed.touch index.html
in terminal to create an empty index.html file or use your file editor to make a new file named index.html.touch sketch.js
in terminal to create an empty sketch.js file or use your file editor to make a new file named sketch.js.curl -L https://github.com/processing/p5.js/releases/latest/download/p5.min.js
to download p5.js to your project folder.Video coming soon.
git add -A
This lets GitHub know you want all your files to be added. If you’re already run this before and there isn’t anything new you don’t have to run it again.git commit -am "your message here"
This creates a snapshot of the changes you’ve made along with a message describing them.git push
This uploads your code to GitHub.git config --get remote.origin.url
to see your repos URL.If VS Code or Git throws an error that says “Make sure to configure your user.name and user.email in Git.” open terminal in your assignment directory and put in the following git config commands separately pressing enter after each one. Make sure to use your LSU email address.
cd into\your\assignment\directory
git config --global user.email “you@lsu.edu”
git config --global user.name “Your Name”
pwd
cd <dir name>
ls
mkdir <dir name>
touch <filename>
code .
cd ..
rm <file>
cp <source> <destination>
cat <filename>
git clone <url of repo>
git status
git fetch
git pull
git log
Mac
cd
into your sketch directorypython -m SimpleHTTPServer
http://localhost:8000
Windows
cd
into your sketch directoryC:/Python27/python.exe -m SimpleHTTPServer
http://localhost:8000
<!doctype html>
<html>
<head>
<title>Assignment ## - First Name Last Initial</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/p5.min.js"></script>
<script src="sketch.js"></script>
</head>
<body>
</body>
</html>
function setup() {
// Put things you want to run once in here.
}
function draw() {
// Put things you want to over and over here.
}
Plain
Pretty much the basics.
curl -L https://github.com/fredeerock/p5js_starter/archive/master.zip | tar xz --strip=1
Featured
This has a VS Code debugging config as well as a bit more starter code.
curl -L https://github.com/fredeerock/p5js_starter/archive/debug.zip | tar xz --strip=1