290 likes | 442 Views
Ant s ’ A r t. S hape d rawing b ased o n t opological s orting. - T h e s t o r y -. Handsome boy was playing in the garden. His name was Jason. Mom: Jason come back and eat dinner~ Jason: Just a second mom.
E N D
Ants’Art Shape drawing based on topological sorting
-The story- Handsome boy was playing in the garden. His name was Jason. Mom: Jason come back and eat dinner~ Jason: Just a second mom. Just when he was about to leave the garden, he found an ant nest, and he said, “Oh that’s cool!” He approached ant nest and gave them water because they looked so thirsty. Then, for some reason, ants got angry and attacked Jason. “NOOOO~~!! My FACE!!! No--.” Jason was terrified, because they messed up his face. He was left with ….
-The story- I’m sorry, But you are too ugly. Go away! I love you. Please go out with me. Several days after… In his school…
-The story- No one likes me..
-The story- It’s because of those ants. I have to Revenge! But how?
-The story- Ah-Ha!!! HaHa, I will prove they are nothing more than a stupid moving dots, so that no one loves ants anymore.
-The story- Then Jason started to make a program that simulate ants. To show that, ants are really stupid.
The Basic Concepts: • In 2d space, randomly place thousands of ants with a light-weight Artificial Intelligence, and then see how their interactions create a drawing.
Artificial Intelligence • The most important A.I. for an ant is the ability to follow some other ants. • This ability is simple, but end result is not so simple, because it can create a loop of ants.
Morphing lines into loops. Ants aggregate by following each other. This creates moving lines with many ants. But the head ant of this moving line should also follow another ant. Thus this moving line will morph into a loop as time passes.
Results of A.I. that simply follows one another. Shape drawing based on idea of topological sorting A circle (I call them a planet)
Results of A.I. that simply follows one another. Weird shaped loops.
Results of A.I. that simply follows one another. Hello~ And even a face.
Different viewing. So, I got bored of weird looking loops, and tried to find other ways to capture a drawing. I tried to time- capture the morphing lines.
Time-Capturing. Morphing Left picture is taken in same place as right picture, with time-capturing.
Changing exposures. This is taken when ants start to aggregate into line.
More complicated A.I.Promisers. I got board again, and started programming little bit more complicated A.I.One of them is called Promisers. Basic Concept: They are called Promisers because they make promises, and if they accomplish their promise, they make a new promise to accomplish.
More complicated A.I.Promisers. (cont.) And to stop all ants aggregating into a small tiny loop, I added static ants, that does noting but to stay in one place.
More complicated A.I.Promisers.Unexpected Result. Simulating with Promisers gave rather unexpected result.
More complicated A.I.Promisers.Explosions BOOM!!! The first Explosion.
More complicated A.I.Promisers.How does a loop explode? When a Promiser get close enough to their target, they stop chasing their current target, and start chasing next target. So, when a small loop with lots of Promisers form, many Promisers will collide instantly with each other, because they are close to each other. Collision after collision, there is going to be more Promisers looking for new target out side the loop. Thus, it will head outward.
Steps for explosion Internal Explosions. Debris Promisers that are still alive
More experiments Some more experiments were done by changing display settings, and other A.I.s Such as…
More experiments Some more experiments were done by changing display settings, other A.I. Such as…
More experiments Some more experiments were done by changing display settings, other A.I. Such as…
More experiments Some more experiments were done by changing display settings, other A.I. Such as…
Tnank you~ The simulator for this project is a very simple java applet. You don’t need to be a computer scientist to make a simple 2d world simulator like mine. Try making some it by yourself. There is more surprises in these simulators than what you can expect. You can try java applet version of the Ants’Art at http://ryty.maru.net/antsart/ Email : jc524@cornell.edu Jin Hyuk Jason Cho