diff --git a/chaostest/braid.html b/chaostest/braid.html new file mode 100644 index 0000000..5a4aa84 --- /dev/null +++ b/chaostest/braid.html @@ -0,0 +1,65 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/chaostest/braid.js b/chaostest/braid.js
new file mode 100644
index 0000000..877b9e1
--- /dev/null
+++ b/chaostest/braid.js
@@ -0,0 +1,49 @@
+
+function braid_get_rnd_params() {
+ return {
+ num_points: 10,
+ point_noise: 0.6,
+ num_connections: 8,
+ };
+}
+
+
+function braid(params) {
+ if(typeof params == 'undefined') {
+ var params = braid_get_rnd_params();
+ }
+
+ let points = [];
+ for(let i=0; i