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
   Simulation, Artificial Life
(Moderator: REAS)
   underwater fabric
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: underwater fabric  (Read 3579 times)
flight404

WWW Email
underwater fabric
« on: Jun 17th, 2004, 6:42pm »

Decided to revisit some older code... (sorry about the naming convention, based on the weed_growth project)...
 
http://www.flight404.com/p5/weed_sheet_1/
 
Click and drag to control the direction of movement.  There is an attempt to make the cursor position effect the highlights on the cloth but I believe my math is off.
 
Maybe someone (toxi, I am looking in your general direction) can improve upon the code to make it more processor friendly.
 
BTW, this code is the result of some back and forth with Jared Tarbell of complexification.com and levitated.net.  It was originally a flash actionscript project but I decided to port it over to processing.  There is some minor inverse kinematics structure in the fabric (I think it is still there    )
 
 
r
 
 
UPDATE-----------------------------
In the process of cleaning up the code, managed to accidentally make a nematodish creature.  Posted a couple videos
 
http://www.flight404.com/p5/video/weed_snake_6.mov
http://www.flight404.com/p5/video/weed_snake_6_2.mov
 
 
 
UPDATE-----------------------------
Yet another modification. very soapy.
 
http://www.flight404.com/p5/soap_tube/
 
+ and - adjust the perlin noise scale (small increments so best to hold down until the desired effect is achieved)
'W' toggles wireframe mode
'P' shows points (poor band-aiding has this overriding the wireframe mode so you must turn off points to see wireframe)
 
click and drag to control the movement
 
 
UPDATE-----------------------------
FIRE!!!!  
 
http://www.flight404.com/p5/video/fire_1.mov
http://www.flight404.com/p5/fire_1
« Last Edit: Jun 19th, 2004, 3:06am by flight404 »  
Markavian

Markavian+iTX WWW
Re: underwater fabric
« Reply #1 on: Jun 25th, 2004, 12:24am »

flight! I was looking at the soap one, and though : nah, that looks like more a smoking torch (the moment of the trail etc.) then a soap ring...
 
... so, good progression. I think the fire demo Movie 'fails' a bit because you've got a ring as the base forming a nice flame... but the flame should really generate less symetrically then from a circle. I noticed you left the click to drag source feature in, thats a bit weird!
 
Be nice to see if you make anything more of this, or go back and produce a proper soap ring model... you need to think of it 'filling' symmetrically with air and forming cylindrically symmetrical shapes, with smooth waves forming along the surface (thats how I think of ring made bubbles).
 
regards,
- Markavian
 
flight404

WWW Email
Re: underwater fabric
« Reply #2 on: Jun 25th, 2004, 4:15am »

Yikes!  Is that a homework assignment?    I know they arent accurate representations.  More like experiments which made me think, 'Hey, that kinda looks like ...'.  If I sat down to try to make a spherical soap bubble, I would probably fail miserably (spherical math is certainly not my forté).
 
Care to take a stab?  
 
r
 
minh


Re: underwater fabric
« Reply #3 on: Jun 27th, 2004, 9:34am »

beautiful stuff...
i'd expect you use a 2d dependent particle system with spring forces (Hook's law)..
i'm trying to do that right now but having a heck of a time with properly spacing them out.. do you have any suggestions? links?
 
i can see using this method to wrap around a sphere
 
skloopy

WWW
Re: underwater fabric
« Reply #4 on: Jun 27th, 2004, 10:12am »

I think yr soap one totally looks like one of those huge rings that people use to make those giant bubbles and bubble tubes. I wanna get one of those and make huge bubbles!
 
Infidel

Email
Re: underwater fabric
« Reply #5 on: Dec 15th, 2004, 9:30pm »

I always wondered how they made Solid Snake's bandana flap in the wind like that
 
Pages: 1 

« Previous topic | Next topic »