benjiallen / coderdojochi-js

Home for lessons and examples used in the CoderDojoChi JavaScript class
2 stars 4 forks source link

Ideas for fun examples and challenges #5

Open benjiallen opened 8 years ago

benjiallen commented 8 years ago

Part of the challenge of coming up with a good class is dreaming up great ideas to help convey the different concepts we'll be teaching.

Add comments to this ticket with your idea. Include the description of the idea, a link to a picture or attach a picture of a paper or whiteboard sketch you've done. If you have a learning outcome in mind, add that too.

What makes a good idea? Our current guess is:

  1. Short and sweet
    • It should take between 5 and 15 mininutes
  2. Doable
    • While a 3D rendering of Gaudi's Sagrada Família might be cool we need to consider what's possible with a limited subset of P5.js functions i.e., basic shapes like rectangles, squares, circles, ellipses, triangles, arcs, lines
  3. Relatable
    • Our hypothesis is that if a student can relate to an object they are drawing then they will likely be more engaged
dlarosa commented 8 years ago

Minecraft is something most students can relate to. Creating a 2D version of a Minecraft character is something that can easily be done with P5.js.

In this example, a "Creeper" is created with just a few lines of code. I personally like the fact that there is a function for each body part what makes it easier to follow if we are building the image step by step during the class.

It does not have to be a Minecraft character, it could also be something famous like a Ninja Turtle or someone from a Disney movie (Toy Story maybe?) but the idea would remain the same: to build a character part by part.

benjiallen commented 8 years ago

@dlarosa love this idea. I'm totally new to Minecraft. It would be great if you could get more links to all the kinds of sprites in Minecraft. Doesn't need to be code. Just interested to see the different characters. Images or blog post links would be great.