aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2016-02-24 09:19:08 +0100
committerRahiel Kasim <rahielkasim@gmail.com>2016-02-24 09:19:08 +0100
commit7d921e398338dff3874e7a1532315426b75b1dfd (patch)
tree054ca00c131a5155fd976ac65f60e23688c3e7cc
parentb8754fc9a249e714b03855278b6c1048e2caef9d (diff)
update threejs, other npm modules and readme
-rw-r--r--LICENSE.txt2
-rw-r--r--README.md4
-rw-r--r--calc.js2
-rw-r--r--main.js3
-rw-r--r--package.json12
-rw-r--r--systems.js2
6 files changed, 11 insertions, 14 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index 13669ba..640ca3e 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2015 Jaro Camphuijsen & Rahiel Kasim
+Copyright (c) 2015-2016 Jaro Camphuijsen & Rahiel Kasim
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
diff --git a/README.md b/README.md
index 5bde661..c38dce2 100644
--- a/README.md
+++ b/README.md
@@ -20,10 +20,8 @@ as part of the
Sunsistemo works great on:
* Chrome (and Chromium based browsers)
-* Safari (and other WebKit browser)
-
-And it is slower on:
* Firefox
+* Safari (and other WebKit browser)
# Installation
diff --git a/calc.js b/calc.js
index 04f5c4d..3d4436a 100644
--- a/calc.js
+++ b/calc.js
@@ -1,4 +1,4 @@
-let Vec3 = require("three.js").Vector3;
+let Vec3 = require("three").Vector3;
import Body from "./systems.js";
diff --git a/main.js b/main.js
index 83875f8..0432879 100644
--- a/main.js
+++ b/main.js
@@ -1,4 +1,4 @@
-let THREE = require("three.js");
+let THREE = require("three");
let OrbitControls = require("three-orbit-controls")(THREE);
let d3 = require("d3");
@@ -11,7 +11,6 @@ import * as systems from "./systems.js";
import * as calc from "./calc.js";
let bodyTexture = true;
-let numBodies = 1;
let sphereP = 16;
let sunOn;
diff --git a/package.json b/package.json
index fceec40..edd5267 100644
--- a/package.json
+++ b/package.json
@@ -23,14 +23,14 @@
"url": "https://github.com/sunsistemo/sunsistemo/issues"
},
"devDependencies": {
- "babel-core": "^5.8.25",
- "babel-loader": "^5.3.2",
- "webpack": "^1.12.8",
- "webpack-dev-server": "^1.12.1"
+ "babel-core": "^5.8.35",
+ "babel-loader": "^5.4.0",
+ "webpack": "^1.12.14",
+ "webpack-dev-server": "^1.14.1"
},
"dependencies": {
- "three.js": "^0.73.0",
- "d3": "^3.5.6",
+ "d3": "^3.5.16",
+ "three": "^0.74.0",
"three-orbit-controls": "^72.0.0"
}
}
diff --git a/systems.js b/systems.js
index 8ae410a..3bda9f0 100644
--- a/systems.js
+++ b/systems.js
@@ -1,4 +1,4 @@
-let THREE = require("three.js");
+let THREE = require("three");
let Vec3 = THREE.Vector3;
import * as calc from "./calc.js";