-
Notifications
You must be signed in to change notification settings - Fork 4
2017f Day 3
Publish to Github Pages
Example: https://n1ckfg.github.io/PageTest
- Make sure your project is written in p5.js (not Processing) and has an index.html file.
- Go to: Your Github repo > Settings > Github Pages
- Go to: Source > master branch
- Click Save
- 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.