member since July 15, 2010
profile picture

portfolio of
gum

Blob Family

A family of physically-based blobs
http://www.futuredatalab.com/blobfamily

up/down/left/right: move
mouse: drag blob / right-click to attract blob
q: enable blob ai (the blob will lazily roll around)
space: reset
d: display debug
f: toggle fps
g: toggle gravity
l: lock particle in place
m: toggle rendering mode
a/s: -/+ metaball size
z/x: -/+ metaball render threshold

create blob:
1: small
2: big
3: small braced
4: big braced
5: small complex
6: big complex
7: BIG
8: BIG braced
9: BIG skinned
0: BIG complex

Spheres

Inspired by Processing.js's header sketch, this is a simple sketch that features features smart fading based on window size and a basic mass-spring system.

Use your mouse to drag the spheres around.

Lighters

http://www.futuredatalab.com/lighters/ - In-depth discussion of how this was made.

Controls:
- 'wasd' (or arrow keys) to move
- 'space' to light up surroundings
- '.' to reset world
- There are some debug features as well, find out how to enable them yourself ;)

Candles dim over time, your light companion will light up nearby candles. Try to keep the place well-lit, or you will be consumed by darkness...

Procedural Dungeon Generator

Press 'space' to generate new dungeon, play around with the parameters and see how they affect the dungeon. Click save to output the dungeon to a text file.

Features several dungeon generation algorithms:
- Basic: This algorithm places random rooms in the grid, then connects them with corridors using A* pathfinding
- Cellular Automata: Based on algorithm by Jim Babcock
- BSP: Dungeon generation based on BSP algorithm from RogueBasin
- Build/Growth: Based on algorithm from RogueBasin by Mike Anderson

cursorthief

Don't let it steal your mouse cursor!

Inspiration: http://gprime.net/flash.php/cursorthief

Steering Behaviors

2D simulation of flocking and other steering behaviors.

Instruction:
'alt + h' - show/hide settings menu
'alt + left mouse' - move settings menu
'a' - display information
's' - enable/disable bounded canvas
'd' - debug mode
'space' - reset
'z/x/c + left/right mouse' - add/delete boid/predators/objects

References:
- http://www.red3d.com/cwr/steer/
- http://www.vergenet.net/~conrad/boids/pseudocode.html
- http://www.shiffman.net/teaching/nature/steering/

Todo:
- Code optimization
- Different types of objects

osmosis

A simple puzzle/food-chain game used to familiarize myself with Processing. Use mouse to control your cell, eat smaller cells while avoid getting eaten by bigger cells.
followed by
20
following
0

favorites

Share Share Subscribe to sketches