Skip to content
Browse files

Reduced epsilon tenfold

  • Loading branch information...
1 parent 3e2850f commit 4679c5cb369a6567d2416a57ad4fa004e6e083e1 @muraliavarma committed Feb 7, 2013
View
BIN murali_varma_hw2/build-tmp/murali_varma_hw2$Creature.class
Binary file not shown.
View
BIN murali_varma_hw2/build-tmp/murali_varma_hw2.class
Binary file not shown.
View
4 murali_varma_hw2/build-tmp/source/murali_varma_hw2.java
@@ -27,7 +27,7 @@
final int MIN_CREATURES = 1;
final int MAX_CREATURES = 100;
-final float EPSILON = 0.0001f;
+final float EPSILON = 0.00001f;
final float FLOCK_CENTERING_RADIUS = 0.2f;
final float COLLISION_AVOIDANCE_RADIUS = 0.05f;
@@ -43,7 +43,7 @@
final float MIN_VELOCITY = -0.005f;
final float MAX_VELOCITY = 0.005f;
-int NUM_CREATURES = 100;
+int NUM_CREATURES = 10;
boolean isLoop = true;
int edgeBehavior = TOROIDAL_MODE;
View
2 murali_varma_hw2/murali_varma_hw2.pde
@@ -12,7 +12,7 @@ final int REPEL_MODE = 1;
final int MIN_CREATURES = 1;
final int MAX_CREATURES = 100;
-final float EPSILON = 0.0001;
+final float EPSILON = 0.00001;
final float FLOCK_CENTERING_RADIUS = 0.2;
final float COLLISION_AVOIDANCE_RADIUS = 0.05;

0 comments on commit 4679c5c

Please sign in to comment.
Something went wrong with that request. Please try again.