aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrahiel <rahiel@protonmail.ch>2015-10-16 12:24:09 +0200
committerrahiel <rahiel@protonmail.ch>2015-10-16 12:24:09 +0200
commit4bf3ae461640b8e62fc37441dfe3428f3c8b35a0 (patch)
tree51c18a206c1ae9defe4af3f5ff70d3774093724f
parent5619f2b291b18030de38d8c84b7ac43c45ea8d79 (diff)
tweak butterfly
-rw-r--r--systems.es6.js4
-rwxr-xr-xupdate.bash2
2 files changed, 4 insertions, 2 deletions
diff --git a/systems.es6.js b/systems.es6.js
index 429986e..283df0f 100644
--- a/systems.es6.js
+++ b/systems.es6.js
@@ -270,8 +270,8 @@ export function genButterFlyOne() {
return {
bodies: [s1, s2, s3],
- stepsize: 0.000001,
- stepsPerFrame: 10000,
+ stepsize: 0.00001,
+ stepsPerFrame: 500,
camera: {x: 0, y: 0, z: 2},
collisions: false
};
diff --git a/update.bash b/update.bash
index 2276186..4cef95c 100755
--- a/update.bash
+++ b/update.bash
@@ -2,7 +2,9 @@
path="sunsistemo.github.io/"
cp index.html "$path"
+cp style.css "$path"
cp -r textures/ "$path"
+cp -r lib/ "$path"
webpack --optimize-minimize --output-path "$path"
cd "$path"
git add -A