summaryrefslogtreecommitdiffstats
path: root/bounds2/attractor.js
diff options
context:
space:
mode:
Diffstat (limited to 'bounds2/attractor.js')
-rw-r--r--bounds2/attractor.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/bounds2/attractor.js b/bounds2/attractor.js
new file mode 100644
index 0000000..6531324
--- /dev/null
+++ b/bounds2/attractor.js
@@ -0,0 +1,10 @@
+( function() {
+
+function Attractor( x, y, attraction ) {
+ this.x = x;
+ this.y = y;
+}
+
+window.Attractor = Attractor;
+
+})();