Evan 2016-1017 S1

Friday, September 23, 2016

Friday Post

This week I've been working with coding at https://www.khanacademy.org by making different drawings with different lines of code by typing in coomands like:

  • rect(x, y, w, h)
  • ellipse(x, y, w, h)
  • triangle(x1, y1, x2, y2, x3, y3)
  • line(x1, y1, x2, y2)
  • point(x, y)
  • arc(x, y, w, h, start, stop)
  • bezier(x1, y1, cx1, cy1, cx2, cy2, x2, y2)
    (Opens in a new window)
  • quad(x1, y1, x2, y2, x3, y3, x4, y4)
  • image(image, x, y, width*, height*)
See also: ellipseMode, rectMode, imageMode, strokeCap, bezierPoint, bezierTangent, curve, curvePoint, curveTangent,curveTightness

Complex Shapes

  • beginShape() / endShape() / vertex()
  • curveVertex()
  • bezierVertex()
  • So far I've made 3 snowmen and a plate with food.
Posted by Unknown at 2:02 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Evan

Evan
my avatar

Peoples Blogs

  • Tyson
  • IT class
  • Liam
  • Jake
  • Jacob

Blog Archive

  • ►  2017 (10)
    • ►  January (10)
  • ▼  2016 (39)
    • ►  December (4)
    • ►  November (12)
    • ►  October (8)
    • ▼  September (15)
      • tasty tomato
      • Shooting Stars
      • Parting Clouds
      • Exploding Sun
      • Funky Frog
      • Bucktooth Bunny
      • Friday Post
      • What's For Dinner??
      • Advanced Snowman with Colour
      • Simple Snowman
      • Pivot Fail Compilation
      • Scott Sterling Soccer
      • Super Planet Crash
      • What I Want to learn in IT 10
      • My mark prediction
Awesome Inc. theme. Powered by Blogger.