Skip to content

2017f Day 3

Nick Fox-Gieg edited this page Sep 22, 2017 · 10 revisions

repo

Publish to Github Pages
Example: https://n1ckfg.github.io/PageTest

  1. Make sure your project is written in p5.js (not Processing) and has an index.html file.
  2. Go to: Your Github repo > Settings > Github Pages
  3. Go to: Source > master branch
  4. Click Save
  5. Your repo is now visible at https://your_user_name.github.io/your_repo_name

p5.js
Language: JavaScript

Pro:
-Works on the web.
-Don't have to keep track of variable types.
-Works on all desktop and mobile OSes (with some quirks).
-Good preparation for more complex JavaScript libraries like node.js, three.js

Con:
-More separate pieces to manage.
-Unhelpful error messages, or none at all.
-Limited use of GPU-accelerated 2D and 3D.
-Reading files is a bit more complicated, and writing them can be difficult.
-Not a lot of third-party libraries.

Processing
Language: Java

Pro:
-Everything's in one place.
-Fairly helpful error messages.
-Lots of third-party libraries.
-Fast GPU-accelerated 2D graphics, some 3D.
-Reading and writing files is easy.
-Can build native apps for Windows, OS X, Linux, and Android.
-Good preparation for Unity.

Con:
-Doesn't work on the web at all.
-Doesn't work on iOS at all.
-Have to keep track of variable types.

Clone this wiki locally