JiG is on Patreon and Needs You! Click here for more information


Fish of a color


  • Currently 4.4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4.4/5 (20 votes)
Comments (6) | Views (1,623)

Schooling Fish Simulation

Lately I've been working on one of the coolest projects so far in my RIT education, and it's for Multi-User Media Spaces (MUMS) taught by Professors Nancy Doubleday and Steve Kurtz. The project, which I'm calling "Fish of a Color", aims to simulate flocking behavior by implementing behavioral rules, though I guess it should be dubbed "schooling" behavior since we are using fish - and yet these same rules apply to birds and herds as well. The behavioral rules that we are concerned with in these simulations are:

  • Fish are drawn to the center of other fish around them
  • Fish tend to move in the general direction as other fish around them
  • Fish keep safe distances apart and move at similar velocity to each other to avoid colliding with other fish around them

Anyways, I really got absorbed into the project as the gratification was tremendous when my first fish began to swim back and forth in the 3-dimensional tank. Then I began adding external influences one by one (centroid, average heading, collision avoidance, and velocity matching), and with each step the fish took on increasingly more life-like appearance due to their emergent behavior.

If you have the very latest Shockwave player (version 10) installed please do check it out. If you have trouble playing the movie, try downloading the latest Shockwave player from Macromedia's site. I used the newest version of Director MX (2004) which just came out in February, so the code isn't compatible with any but the latest version of Shockwave.

Play Fish of a color

6 Comments

Would you quit making the rest of us look bad? :-P

Reply

Not possible, Brock. With the way you had those 3D primitives driving around during the first lecture of 3D back in 434 last quarter, I'll accept no big fish tales from you. =P

Reply

Wow! Jay, that's really cool! Nice job! Hope your quarter's going well.

Reply

Oh, this is very good work :) Brilliant!

Reply

Wow, this is a very impressive model of flocking behaviour. Indeed, it is even quite addictive as something to watch

Reply

Thank you! I enjoyed watching it, too, as it was taking shape. =)

Reply

^ Scroll Up | Homepage >

Leave a comment [top of page]

Please consider creating a Casual Gameplay account if you're a regular visitor here, as it will allow us to create an even better experience for you. Sign-up here!
  • PLEASE UNDERSTAND SITE POLICIES BEFORE POSTING COMMENTS
  • You may use limited HTML tags for style:
    (a href, b, br/, strong, em, ul, ol, li, code, spoiler)
    HTML tags begin with a less-than sign: < and end with a greater-than sign: >. Always. No exceptions.
  • To post spoilers, please use spoiler tags: <spoiler> example </spoiler>
    If you need help understanding spoiler tags, read the spoiler help.
  • Please Preview your comment before posting, especially when using spoilers!
  • No link dropping, no domains as names; do not spam, and do not advertise! (rel="nofollow" in use)
Weekday Escape - Retro Edition N°5> chrpa It's Retro Weekday Escape time and four atmospheric and magic games are waiting for you! We start in enchanting and tidy room by 10 Color Dots, full of lavender smell. After we leave it, Kiterescu takes us first to the...  ...
6,891 Views
5 Comments
Yellow> chrpa The new game from Bart Bonte is sharp yellow and black. The first-signal system activates! Wasps! Hornets! Caution Bio-Hazard! Caution Wet Floor! Slow Down! The last one is correct, no need to hurry anywhere, we've got awesome relaxing game with...  ...
14,219 Views
5 Comments
The Basement Escape> chrpa Huzzah! Tesshi-e is back with another excellent game! First, don't panic after you notice the intro screen you've seen before. Yes, it's from The Escape Hotel 3: Remake released last summer. Tesshi-e just revisited his favourite hotel, lost his way...  ...
10,842 Views
11 Comments
Weekday Escape N°151> chrpa Hi! The new Weekday Escape is here bringing three fantastic games! Lutaru gives us a box for playing, with a small button here and a tiny hole there and waits until we figure out what to do with it. After...  ...
Rullo

Recent Comments

 

Display 5 more comments
Limit to the last 5 comments

Game of the week


Living Legends: Uninvited Guests Collector's Edition

Your Favorite Games edit

add
Save links to your favorite games here. Use the Favorites editor.

Monthly Archives