Monday, November 15, 2010

Monday, August 2, 2010

Colloid begins

The game idea is a blue bubble that falls on planet and starts to spread. The locals are trying to burn out the goo, so you control the flow direction, accumulation, temperature and other goo's properties to overwhelm the defenses. Some articles for goo simulation:

Good overview:
http://software.intel.com/en-us/articles/fluid-simulation-for-video-games-part-1/

Some algorithmics:
http://www.colinbraley.com/Pubs/FluidSimColinBraley.pdf

Saturday, March 20, 2010

Obstacle in range

Used http://stackoverflow.com/questions/1073336/circle-line-collision-detection article as reference for line-circle intersection.

Following code extracts the part of line that is inside a circle: