Week 12 Class Notes

ClassAgenda
Week 10, November 6Due: Tool Merge
Classifying Interactions Discussion / Narrative Workshop / Intro Final
Week 11, November 13Due: Proposal Research + Writing
Creating Proposals + Treatments / Individual Meetings / In class work
Week 12, November 20Due: Proposal Decks w/ Comps
Group Crits / In class work
No Class, November 27Thanksgiving Break
Week 13, December 4Due: POC
Creating a P5 + Github project / In class work
Week 14, December 11Due: WIP
Special Topic Demos / Group Crits / In class work
Week 15, December 18Due: Final Project
Final Crit

Starting from “Scratch”

Up to now, you’ve been starting project by cloning a template repository. Today, we’ll take a look a short look at HTML, JS, and CSS, and build a working P5-based web project piece by piece.

But not really from Scratch

If you wish to make an apple pie from scratch, you must first invent the universe.

— Carl Sagan, Cosmos

The projects you have been making in class are defined at a very high level of abstraction, and rely on an incredible amount of code written by others.

For example:

Also:

And:

You’ve just put into play DNS, TCP, UDP, IP, Wifi, Ethernet, DOCSIS, OC, SONET, and more. Those are actually such incredibly complex technologies that they’ll make any engineer dizzy if they think about them too much, and such that no single company can deal with that entire complexity.

Jean-Baptiste “JBQ” Quéru, Dizzying but Invisible Depth

HTML, CSS, Javascript

Okay, great, It’s turtles all the way down, but we don’t need to understand how the computer hardware and operating system work to start making web pages. We don’t even really need to understand much of how the browser works. We can float over all of that effort and work at a very high level: HTML, CSS, and Javascript.

web_demo

The P5 Project Template

I’ve updated the p5_template repo. You can use it as a basis for your project, but instead of cloning the repo we’ll build a project from scratch and copy files from the template into it.

  1. Create a new project on github.
  2. Clone the project to your computer.
  3. Download the p5_template files.
  4. Copy over the files, check them, customize them.
  5. Make sure it looks right in the browser.
  6. Make an initial commit.

Changing the Page

window.location.href = '...';

Assignment

Your final project is due in two weeks.