Skip to content
Sample code for "No, not that Canvas API"
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/editor
.editorconfig
.gitignore
LICENSE
README.md
index.html
package-lock.json
package.json
style.css

README.md

No, not that Canvas API

Sample project for "Web, Docs, & Canvas" lecture. This was part of a series of mini-lectures for the CPSC 490 class at the University of British Columbia. This lecture was designed to mix a presentation, live coding, and workshop. We instructed students how to read technical documentation and used the Canvas API built into web browsers as an example to work with.

Branches

  • master: Completed project
  • day1: Day 1 starter code (live coding)
  • day2: Day 2 starter code (workshop)

Slides

Running the server

If using Max or Linux, you can use your built-in Python installation to run a simple web server.

cd not-that-canvas
# If Python 2
python -m SimpleHTTPServer
# If Python 3
python3 -m http.server

Then open localhost:8000.


Alternatively, you can install Node.js then use it to run a simple web server.

# After node.js is installed...
cd not-that-canvas
npx serve

Then open localhost:5000.

You can’t perform that action at this time.