-
Notifications
You must be signed in to change notification settings - Fork 6
HW Week 2.1
SDeavours edited this page Sep 12, 2016
·
52 revisions
-
SET UP:
- Download the p5.js editor
- Make sure you can access the Moodle Forum
- Create a new p5.js project in your USERNAME.github.io directory for this weeks work
- In that directory your p5 sketch (index.html, etc.) will get stored.
- You will provide a link to your p5 sketch.
- This will look something like
https://michaelmusick.github.io/week1/ - Remember to save and make commits often. That way if something does not work, you can always go back!
- Also add a
README.mdto this same directory.- You can edit this in;
- a text editor such as Atom or SublimeText
- a markdown editor application, such as
- a markdown editor web app, such as
- or directly on github.
- From github, provide a link to this file for 'documentation' below.
- This link should look something like
https://github.com/michaelmusick/michaelmusick.github.io/blob/master/week1/README.md
- You can edit this in;
-
DO:
- Create your own static screen drawing: self-portrait, alien, monster, etc. Use only 2D primitive shapes –
arc(),curve(),ellipse(),line(),point(),quad(),rect(),triangle()– and basic color functions –background(),colorMode(),fill(),noFill(),noStroke(),stroke(). Remember to usecreateCanvas()to specify the dimensions of your window. - Define a variable (
var x = 60;) that you use within your sketch. - Make sure you include comments about what your various lines of code are suppose to do.
- Create your own static screen drawing: self-portrait, alien, monster, etc. Use only 2D primitive shapes –
-
READ / WATCH (if helpful):
-
ASK QUESTIONS: Contribute at least 1 question below. (Name optional.)
Questions | Examples
- How long will it take me to be as cool as you, Michael Musick? Second question: Can you adopt me?
- I am not seeing the Moodle forum when I open Moodle. Is anyone else having this problem, and if so how do we access this?
- How do you make the canvas centered and responsive?
- I'm rather lost on everything but on how to place and size the shapes
(Press the edit button to the top-right of this window. Press save page below this window when done)
- Michael Musick -- documentation, sketch -- any other comments
- Haley Tatalovich -- documentation, sketch -- any other comments
- Josh Kornish -- [documentation] (https://github.com/tufaclimbing/tufaclimbing.github.io/tree/master/sketch.js) [sketch] (https://tufaclimbing.github.io/sketch.js/)
- Ian McKay -- documentation, sketch
- Kayla Robertson -- [documentation], sketch
- Sierra Shaw -- documentation, [Sketch] (https://mistasierra.github.io/sketch.js)-- messed up but don't know where
- Stone Deavours -- documentation, sketch