From f6f690837e3c542741aee066af307500832fe94b Mon Sep 17 00:00:00 2001 From: Ben Burlingham Date: Fri, 25 Aug 2017 07:26:26 -0700 Subject: [PATCH] Animation 2 finished. --- css/index.scss | 3 +- css/style.css | 3 +- index.html | 15 +- js/{animation3-ORIGINAL.js => _ORIGINAL.js} | 0 js/_SCARE.js | 131 ++++++++ ...LLDETECT-BUGGY.js => _WALLDETECT-BUGGY.js} | 0 js/animation1.js | 93 ++++-- js/animation2.js | 168 ++++------ js/animation4.js | 110 ------- js/bundle.js | 287 +++++++++++++----- js/controls.js | 58 +--- js/index.js | 2 + js/particle.js | 4 + 13 files changed, 491 insertions(+), 383 deletions(-) rename js/{animation3-ORIGINAL.js => _ORIGINAL.js} (100%) create mode 100644 js/_SCARE.js rename js/{animation3-WALLDETECT-BUGGY.js => _WALLDETECT-BUGGY.js} (100%) delete mode 100644 js/animation4.js diff --git a/css/index.scss b/css/index.scss index f705c12..5ad0d79 100644 --- a/css/index.scss +++ b/css/index.scss @@ -21,9 +21,10 @@ .animationContainer { background: rgba(102, 51, 153, 0.05); // background: #f0f0f0; - height: 100%; + height: 450px; margin-top: 50px; position: relative; + width: 100%; z-index: 0; } diff --git a/css/style.css b/css/style.css index 3ba6b7e..ccbbba7 100644 --- a/css/style.css +++ b/css/style.css @@ -25,9 +25,10 @@ body { .animationContainer { background: rgba(102, 51, 153, 0.05); - height: 100%; + height: 450px; margin-top: 50px; position: relative; + width: 100%; z-index: 0; } .particle { background-color: #555; diff --git a/index.html b/index.html index a79967f..4209dc4 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@

-

Iteration 1: Organic movement at 32fps

+

Exploration 1: Organic movement at 32fps

@@ -39,6 +39,19 @@

+

+ This method can handle quite a few particles. +

+ +
+
+
+
+ +

+

Exploration 2: Grid-based vision

+

+