The raw materials are images, vehicle/bugs, and the
template. Produce a system that does something of interest. If you
are careful in your construction of this system, it might even be
doing an analysis on an image that you couldn't do by hand. Optimally,
this can be a process of design discovery or development. Please
write in your assignment what you've done so that you can talk about
it.
Template: here.
Image: here.
[Note: The image must go in the "data"
folder of your sketch, and it must be the same dimensions as your
program. GIF or JPGs will work, but the name must match the name
in the code. You can change either the name in the code or the name
of the image.]
Possible technical ingredients to consider using:
Multiple vehicle types: These would be different
colors, react differently to the image, and lay down different trail
colors. Not too hard to implement. If you want to and you don't
know how, let me know.
Non-physical vehicle rules: You can change the
vehicles' behavior any way you want. For instance you can have them
turn 90 degrees (PI/2 radians in the case of this system) whenever
they sense the color green. They can hop ahead whenever they get
to dark colors. However you want them to behave, they can. Think
about what you'd like them to do. Describe it thoroughly. Try to
get them to do it. You might find it useful to reduce the number
of vehicles to 1 and reduce the frame-rate while you work on the
behavior so you can see what's going on more easily. You should
be able to perform some pretty interesting analyses by changing
the vehicle rules.
Different ways of laying down trails: Right now
they just apply a simple tint to a single pixel. You could easily
have them lay down a different trail color depending on different
conditions. They could lay down trails just about any way you can
imagine. They might pick up color from one part of the image and
deposit it in another part. This will take some doing, so if you
try and get stuck, let me know.
|