A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: [SHOW] Fluid Dynamics

  1. #1
    Senior Member
    Join Date
    May 2006
    Location
    Manhattan
    Posts
    246

    [SHOW] Fluid Dynamics

    I implemented a smoke simulation in as3 today (based off of Joe Stam's papers and other random, found sources). Not exactly game related as I think it's pretty processor intensive in itself, but thought it might be of interest nonetheless.

    http://lab.generalrelativity.org/fluid_dynamics/smoke/

    click and drag to jostle the smoke around, release to add density under the mouse

  2. #2
    self-portrait Kianis's Avatar
    Join Date
    Feb 2004
    Location
    Stockholm, Sweden
    Posts
    425
    Wow, that's beautiful! Nice work!
    // Mazapán, my portfolio

  3. #3
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    wicked,- pretty cool stuff

  4. #4
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    yeah, thats nice, I love fluid dynamics

    go make plasma pong now
    lather yourself up with soap - soap arcade

  5. #5
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    I would like to see that with real pixels. :P It's nice work though. Good job.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  6. #6
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149
    Looks awesome, you make some very good stuff thats for sure!
    http://blog.oaxoa.com/2008/01/21/act...ds-simulation/

    is another implementation of it that I saw recently too.
    Regards Mark Fennell - Flash Kit Founder, general loiterer
    -------------------------------
    I Hate Zombies - iPhone Game | markfennell.com

  7. #7
    Senior Member
    Join Date
    May 2006
    Location
    Manhattan
    Posts
    246
    Quote Originally Posted by Flashkit
    Looks awesome, you make some very good stuff thats for sure!
    http://blog.oaxoa.com/2008/01/21/act...ds-simulation/

    is another implementation of it that I saw recently too.
    thanks for the link... makes me feel a bit silly though now. i applied a blur filter and am pretty pleased with how it's rendering now (same link)

  8. #8
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,793
    I quit.

  9. #9
    Senior Member Sietjp's Avatar
    Join Date
    Jan 2005
    Location
    Paris, France
    Posts
    711
    Wow, neat.
    That's a pity it's so CPU intensive because that could male so nice little games.

  10. #10
    Senior Member rachil0's Avatar
    Join Date
    Jul 2007
    Location
    Columbus, OH.
    Posts
    465
    I wonder if there's a clever way to implement a 2D wave simulator on a bitmapData using a convolution filter (to apply a spatial stencil) and the merge operation (to do the add-accumulation in time).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center