Cool programmable effects

22 posts

Flag Post

(last update 10.30.2012.

1. Inverse Kinematics
http://freespace.virgin.net/hugo.elias/models/m_ik.htm

2. Boids
http://www.kfish.org/boids/pseudocode.html
http://megaswf.com/serve/2430517/ (demo from Truefire)

3. Fluid Dynamics
http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf

4. Bump mapping
http://www.derschmale.com/2008/05/17/2d-bumpspecular-mapping/

5.Ray tracing
http://www.simon-smith.org/raytracing/tutorial.html
http://wonderfl.net/c/horg

6. Voxels
http://bruce-lab.blogspot.ca/2009/04/ray-tracing-voxel-rendering-in-flash.html
http://wonderfl.net/c/2iec (vox fractal)

7. Dynamic lighting
http://dl.dropbox.com/u/17828135/index.html (courtesy of my own demo ^^)

8. Metaball rendering
http://www.patrickmatte.com/stuff/physicsLiquid/

9. Water ripples
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

10. Starling graphics API flowing lava.
http://www.bytearray.org/?p=4832

 
Flag Post

I didn’t particularly enjoy my encounters with Inverse Kinematics. Huge pain. (But they did look pretty good sometimes)

 
Flag Post

I hate flash’s iks…

 
Flag Post

why? Ik is so sexy.

 
Flag Post

I hate flash’s iks…

You mean the ‘bone’ tool built into newer versions of Adobe’s IDE? If so, then obviously. It’s Adobe :/

Also, I am now tempted to make some fishboidipedes.

 
Flag Post

Thank you very much for these links. I love the fluid dynamics paper!

 
Flag Post

It would be nice if you guys can add to it; I’ve been looking for interesting stuff such as the above. thanks! PS bump mapping.

 
Flag Post

bump mapping and raycasting, go! (too lazy to find links).

Also I’ve been working on a boids simulator thing. Some screenies:

tunnel-vision boids can only see a 90 degree window in front of them

hipster boids don’t go with the flow, and think orange is the new blue

chaser boids get embedded image cuz they’re my favorite:

 
Flag Post
Originally posted by Valfrit:

Wow, pseudocode. People actually use that stuff. At least now I know my software teacher isn’t teaching us a load of garbage.

o-o.

if you want to know how to implement an effect, and you want to look at pure logic instead of hard to read c++, use pseudocode. It was the one article that actually worked in teaching me boids.

 
Flag Post

Hipster boids :D That is a good one.

And yup, psuedocode is great for the lazy (i.e. all programmers)

 
Flag Post
Originally posted by Valfrit:

Wow, pseudocode. People actually use that stuff. At least now I know my software teacher isn’t teaching us a load of garbage.

Almost all algorithms that you find on Wikipedia are in pseudocode for obvious reasons

 
Flag Post

At least now I know my software teacher isn’t teaching us a load of garbage.

He kind of is. I don’t know that I’ve ever written (and rarely read) pseudocode by any kind of standard. Outside of Wikipedia, it’s usually just like:

Loop through grid
   if (!gridElement.isAwesome) { print(gridElement.name) }
   floodFillWithAwesome(list,gridElement)

   if(onlyOneIsTrue of A,B,C,D) { gridElement.createPiano() }

If pseudocode has a syntax as rigorous as any language, it’s pointless. The purpose of pseudocode isn’t that it can’t compile, but that it’s easy to understand and to write.

 
Flag Post

Updated Op with a link to voxel implmentation :)

 
Flag Post

If the bump mapping was extremely optimized, think of how cool it’d look on a hi-res version of minecraft. Dang.

 
Flag Post
Originally posted by RTL_Shadow:

If the bump mapping was extremely optimized, think of how cool it’d look on a hi-res version of minecraft. Dang.

Not very; When looking at a face from a low angle it will seem very flat compared to the other faces.

 
Flag Post

ah. Well it still would’ve been cool if it worked.

 
Flag Post

That last link… I love the outcome of that code, looks so neat :‘D Too bad I don’t really understand how it works yet.

 
Flag Post

I want to revive this thread… bump!

feel free to add links on each type of resource since the ones I provided aren’t that great…

 
Flag Post

That water ripples thing:
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

 
Flag Post
Originally posted by Feffers:

That water ripples thing:
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

update :)

 
Flag Post

This demo is cool – source here

 
Flag Post

Wow…. that voxel bit is so amazingly cool.