Skip to content

Commit 28d1e9d

Browse files
committed
improve comments
1 parent cbf68a1 commit 28d1e9d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

processing-mode/example3/example3.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Flocking + Clustering
22
# original Flocking Sketch by Daniel Shiffman.
33
#
4-
# In this adaptation of Dan Shiffman's Flocking example code, the boids are
5-
# repeatedly clustered using the KMeans algorithm from scikit-learn. The cluster
6-
# labels are then used to give the boids in each cluster a unique color.
4+
# In this adaptation of Dan Shiffman's Flocking example, the boids are
5+
# repeatedly clustered using the KMeans algorithm from scikit-learn. Each Boid
6+
# will ignore Boids in other clusters. The cluster labels are used to give the
7+
# boids in each cluster a unique color.
78
#
89
# An implementation of Craig Reynold's Boids program to simulate
910
# the flocking behavior of birds. Each boid steers itself based on

processing-mode/example3/java/src/main/java/test/Example3Sketch.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
* Flocking + Clustering
77
* original Flocking Sketch by Daniel Shiffman.
88
*
9-
* In this adaptation of Dan Shiffman's Flocking example code, the boids are
10-
* repeatedly clustered using the KMeans algorithm from scikit-learn. The
11-
* cluster labels are then used to give the boids in each cluster a unique
12-
* color.
9+
* In this adaptation of Dan Shiffman's Flocking example, the boids are
10+
* repeatedly clustered using the KMeans algorithm from scikit-learn. Each Boid
11+
* will ignore Boids in other clusters. The cluster labels are used to give the
12+
* boids in each cluster a unique color.
1313
*
1414
* An implementation of Craig Reynold's Boids program to simulate
1515
* the flocking behavior of birds. Each boid steers itself based on

0 commit comments

Comments
 (0)