FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Responsive Form, Games
(Moderator: REAS)
   Swarm behaviour AKA aggrandized mouse trails
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Swarm behaviour AKA aggrandized mouse trails  (Read 1154 times)
flight404

WWW Email
Swarm behaviour AKA aggrandized mouse trails
« on: Jun 10th, 2003, 4:03pm »

www.flight404.com/p5/levitatedTentacle14
 
Here is a little project created with my co-conspirator Jared Tarbell of levitated.net.  We passed some code back and forth (originally in Flash) and here is one of the candier versions.
 
Click and drag to spawn.
Spacebar toggles draw mode.
 
In this version, the Object Array tops out at 1500.
 
SHORTCOMINGS::
* theta angle direction finder is a poor hack. The objects tend to favor the right side of the cursor.
* code is not commented.  my apologies to those that may want to peek.  Plenty of bandaids going on in there.
* colorscheme could use a little variety
« Last Edit: Jun 10th, 2003, 4:17pm by flight404 »  
arielm

WWW
Re: Swarm behaviour AKA aggrandized mouse trails
« Reply #1 on: Jun 12th, 2003, 12:59am »

magnifico!
 
and it's great to see you (a celebrity in the flash world?) moving to java / processing
 

Ariel Malka | www.chronotext.org
flight404

WWW Email
Re: Swarm behaviour AKA aggrandized mouse trails
« Reply #2 on: Jun 12th, 2003, 3:01am »

Ha.  Hardly a celebrity.  I just knew upon whose shoulders my standing could afford me the best view (is that even a proper sentence?).
 
Java/p5 is proving to be quite the challenge, but it seems to be one that I am up to.  For now, just repurposing some flight404.com experiments to try and get acquainted to this different style of coding.  My OOP skills are fledgling and thought p5 would be a good excuse to finally try and figure it out.
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: Swarm behaviour AKA aggrandized mouse trails
« Reply #3 on: Jun 12th, 2003, 5:58pm »

call it love at first sight. this is great! reminds me much of golan levin's work. just wondering, why did you choose to relate the swarm's colors to the mouse position?
 
flight404

WWW Email
Re: Swarm behaviour AKA aggrandized mouse trails
« Reply #4 on: Jun 12th, 2003, 10:05pm »

Dankė.  I am a great lover of Levin.  
 
As for the colors = mousePos, it is just a side effect of the way I code (and perhaps others?).  It was simply a 'what if'.  It wasn't a destination.
 
Glen Murphy

WWW Email
Re: Swarm behaviour AKA aggrandized mouse trails
« Reply #5 on: Jun 13th, 2003, 4:14pm »

This is awesome.
 
Pages: 1 

« Previous topic | Next topic »