-
Notifications
You must be signed in to change notification settings - Fork 5
Homework Week 4
hellyn edited this page Mar 3, 2014
·
10 revisions
Try one of the following or design your own.
- Use a particle system in the design of a "Mover" object. In other words take, say, one of our earlier examples and instead of rendering a Mover object as a simple circle, emit particles from the mover's location. For example, building off Chapter 3’s "Asteroids" example, use a particle system to emit particles from the ship’s “thrusters” whenever a thrust force is applied. The particles’ initial velocity should be related to the ship’s current direction. (Sample Answer)
- Create a particle system where the particles respond to each other via forces. For example, what if you connect the particles with spring forces? Or an attraction / repulsion force? (Sample Answer 1, Sample Answer 2)
- Model a specific visual effect using a particle system -- fire, smoke, explosion, waterfall, etc.
- Create a simulation of an object shattering into many pieces. How can you turn one large shape into many small particles? What if there are several large shapes on the screen and they shatter when you click on them? (Sample Answer)
- Create a particle system with different “kinds” of particles in the same system. Try varying more than just the look of the particles. How do you deal with different behaviors using inheritance?
- Use an array of images and assign each Particle object a different image. Even though single images are drawn by multiple particles, make sure you don’t call loadImage() any more than you need to, i.e. once for each image file. (Sample Answer)
As always, please create a web page to document your homework. Make sure it include some visual documentation of your work as well as the source code. To the extent possible, please post your link before 9am on Monday morning, March 3rd. I will go through them and select ~5 assignments to look at in class. Finally, please add questions related to your assignment next to your name as well as any other general/longer ones below? I'll be using your questions to craft the material I present in class.
- Name - I didn't understand _______. Could you please explain _______? What does _______ mean? How would I _______?
- Allison
- Daniel
- Danqing
- David
- Dexter
- Dimelsa
- Erin
- [Hellyn] (https://www.dropbox.com/sh/bppzbaec89tbku7/K0wr1wEDza) Link to Dropbox Folder
- Haylee
- Ilwon
- Isi
- Jaewoong
- Karen
- John
- Azure
- Ziv
- Moon
- I didn't understand _______. Could you please explain _______? What does _______ mean? How would I _______?