diff --git a/content/04_particles.html b/content/04_particles.html index ffd59daf..b4f478e1 100644 --- a/content/04_particles.html +++ b/content/04_particles.html @@ -379,7 +379,9 @@
class Emitter {
diff --git a/content/05_steering.html b/content/05_steering.html
index d6390f45..c5e141c2 100644
--- a/content/05_steering.html
+++ b/content/05_steering.html
@@ -909,7 +909,7 @@ Exercise 5.10
Example 5.8: Path Following
diff --git a/content/10_nn.html b/content/10_nn.html
index 802e2ee2..2f79b7a3 100644
--- a/content/10_nn.html
+++ b/content/10_nn.html
@@ -116,7 +116,7 @@ Perceptron Steps
Input
Weight
- Input \times Weight
+ Input \boldsymbol{\times} Weight
diff --git a/content/examples/02_forces/example_2_5_fluid_resistance/liquid.js b/content/examples/02_forces/example_2_5_fluid_resistance/liquid.js
index 86680a13..3329ec94 100644
--- a/content/examples/02_forces/example_2_5_fluid_resistance/liquid.js
+++ b/content/examples/02_forces/example_2_5_fluid_resistance/liquid.js
@@ -39,7 +39,7 @@ class Liquid {
show() {
noStroke();
- fill(200);
+ fill(220);
rect(this.x, this.y, this.w, this.h);
}
}
diff --git a/content/examples/02_forces/example_2_5_fluid_resistance/screenshot.png b/content/examples/02_forces/example_2_5_fluid_resistance/screenshot.png
index 682239e8..01d6bde4 100644
Binary files a/content/examples/02_forces/example_2_5_fluid_resistance/screenshot.png and b/content/examples/02_forces/example_2_5_fluid_resistance/screenshot.png differ
diff --git a/content/examples/04_particles/example_4_8_image_texture_system_smoke/screenshot.png b/content/examples/04_particles/example_4_8_image_texture_system_smoke/screenshot.png
index d9b5bcbe..9576fb5e 100644
Binary files a/content/examples/04_particles/example_4_8_image_texture_system_smoke/screenshot.png and b/content/examples/04_particles/example_4_8_image_texture_system_smoke/screenshot.png differ
diff --git a/content/examples/04_particles/figure_4_8_circles/screenshot.png b/content/examples/04_particles/figure_4_8_circles/screenshot.png
index d9b5bcbe..b061b964 100644
Binary files a/content/examples/04_particles/figure_4_8_circles/screenshot.png and b/content/examples/04_particles/figure_4_8_circles/screenshot.png differ
diff --git a/content/examples/04_particles/figure_4_8_image/screenshot.png b/content/examples/04_particles/figure_4_8_image/screenshot.png
index d9b5bcbe..9576fb5e 100644
Binary files a/content/examples/04_particles/figure_4_8_image/screenshot.png and b/content/examples/04_particles/figure_4_8_image/screenshot.png differ
diff --git a/content/examples/05_steering/noc_5_01_seek/screenshot.png b/content/examples/05_steering/noc_5_01_seek/screenshot.png
index d13c0bd6..0c13544e 100644
Binary files a/content/examples/05_steering/noc_5_01_seek/screenshot.png and b/content/examples/05_steering/noc_5_01_seek/screenshot.png differ
diff --git a/content/examples/05_steering/noc_5_02_arrive/screenshot.png b/content/examples/05_steering/noc_5_02_arrive/screenshot.png
index 02ac2c77..135602cb 100644
Binary files a/content/examples/05_steering/noc_5_02_arrive/screenshot.png and b/content/examples/05_steering/noc_5_02_arrive/screenshot.png differ
diff --git a/content/examples/05_steering/noc_5_02_arrive/sketch.js b/content/examples/05_steering/noc_5_02_arrive/sketch.js
index 52511ccc..a1752875 100644
--- a/content/examples/05_steering/noc_5_02_arrive/sketch.js
+++ b/content/examples/05_steering/noc_5_02_arrive/sketch.js
@@ -16,7 +16,7 @@ function setup() {
}
function draw() {
- background(255);
+ background(255,10);
let mouse = createVector(mouseX, mouseY);
// Draw an ellipse at the mouse position
@@ -29,4 +29,8 @@ function draw() {
vehicle.arrive(mouse);
vehicle.update();
vehicle.show();
+}
+
+function mousePressed(){
+ save('screenshot.png')
}
\ No newline at end of file
diff --git a/content/examples/05_steering/noc_5_05_path_following_simple/screenshot.png b/content/examples/05_steering/noc_5_05_path_following_simple/screenshot.png
index 319c408b..d4453972 100644
Binary files a/content/examples/05_steering/noc_5_05_path_following_simple/screenshot.png and b/content/examples/05_steering/noc_5_05_path_following_simple/screenshot.png differ
diff --git a/content/examples/05_steering/noc_5_06_path_following/screenshot.png b/content/examples/05_steering/noc_5_06_path_following/screenshot.png
deleted file mode 100644
index 5ceaa380..00000000
Binary files a/content/examples/05_steering/noc_5_06_path_following/screenshot.png and /dev/null differ
diff --git a/content/examples/05_steering/noc_5_06_path_following/index.html b/content/examples/05_steering/noc_5_08_path_following/index.html
similarity index 100%
rename from content/examples/05_steering/noc_5_06_path_following/index.html
rename to content/examples/05_steering/noc_5_08_path_following/index.html
diff --git a/content/examples/05_steering/noc_5_06_path_following/path.js b/content/examples/05_steering/noc_5_08_path_following/path.js
similarity index 100%
rename from content/examples/05_steering/noc_5_06_path_following/path.js
rename to content/examples/05_steering/noc_5_08_path_following/path.js
diff --git a/content/examples/05_steering/noc_5_08_path_following/screenshot.png b/content/examples/05_steering/noc_5_08_path_following/screenshot.png
new file mode 100644
index 00000000..fcba1d15
Binary files /dev/null and b/content/examples/05_steering/noc_5_08_path_following/screenshot.png differ
diff --git a/content/examples/05_steering/noc_5_06_path_following/sketch.js b/content/examples/05_steering/noc_5_08_path_following/sketch.js
similarity index 100%
rename from content/examples/05_steering/noc_5_06_path_following/sketch.js
rename to content/examples/05_steering/noc_5_08_path_following/sketch.js
diff --git a/content/examples/05_steering/noc_5_06_path_following/style.css b/content/examples/05_steering/noc_5_08_path_following/style.css
similarity index 100%
rename from content/examples/05_steering/noc_5_06_path_following/style.css
rename to content/examples/05_steering/noc_5_08_path_following/style.css
diff --git a/content/examples/05_steering/noc_5_06_path_following/vehicle.js b/content/examples/05_steering/noc_5_08_path_following/vehicle.js
similarity index 100%
rename from content/examples/05_steering/noc_5_06_path_following/vehicle.js
rename to content/examples/05_steering/noc_5_08_path_following/vehicle.js
diff --git a/content/examples/06_libraries/6_4_polygon_shapes/screenshot.png b/content/examples/06_libraries/6_4_polygon_shapes/screenshot.png
index 78e88fe1..4c7af6b7 100644
Binary files a/content/examples/06_libraries/6_4_polygon_shapes/screenshot.png and b/content/examples/06_libraries/6_4_polygon_shapes/screenshot.png differ
diff --git a/content/examples/06_libraries/6_5_compound_bodies/screenshot.png b/content/examples/06_libraries/6_5_compound_bodies/screenshot.png
index 78e88fe1..2f992f0b 100644
Binary files a/content/examples/06_libraries/6_5_compound_bodies/screenshot.png and b/content/examples/06_libraries/6_5_compound_bodies/screenshot.png differ
diff --git a/content/examples/06_libraries/6_8_mouse_constraint/screenshot.png b/content/examples/06_libraries/6_8_mouse_constraint/screenshot.png
index 6b6f2802..4b718a80 100644
Binary files a/content/examples/06_libraries/6_8_mouse_constraint/screenshot.png and b/content/examples/06_libraries/6_8_mouse_constraint/screenshot.png differ
diff --git a/content/examples/06_libraries/exercise_6_7_windmill_motor/screenshot.png b/content/examples/06_libraries/exercise_6_7_windmill_motor/screenshot.png
index e6b22d74..a9e713d3 100644
Binary files a/content/examples/06_libraries/exercise_6_7_windmill_motor/screenshot.png and b/content/examples/06_libraries/exercise_6_7_windmill_motor/screenshot.png differ
diff --git a/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/screenshot.png b/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/screenshot.png
index f4cb49a8..07984b58 100644
Binary files a/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/screenshot.png and b/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/screenshot.png differ
diff --git a/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/sketch.js b/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/sketch.js
index d2fd40df..a596eca6 100644
--- a/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/sketch.js
+++ b/content/examples/11_nn_ga/10_5_smart_rockets_neuro_evolution/sketch.js
@@ -84,4 +84,4 @@ function mousePressed() {
target.position.x = mouseX;
target.position.y = mouseY;
recordTime = lifeSpan;
-}
+}
\ No newline at end of file