January 5, 2010 - Comments Off on Addition Subtraction

Addition Subtraction

This flow field simulation was the result of an exercise geared to learn more about C++ vectors and lists. It involves 20,000 particles which react to external forces and can be reborn locally if they should happen to stray too far. Into this mess of particles, you can place either an attractive force (gravity) or a repulsive force (orbital). The attractive forces pull every particle towards it based on the laws of gravitation. The repulsive forces spin either clockwise or counterclockwise and any particles nearby would be thrown away from the center of the rotating force.

Published by: Robert Hodgin

Comments are closed.