From 36611384dabde653861ba4d8d57a1de1809e875c Mon Sep 17 00:00:00 2001 From: David Contreras Date: Wed, 6 Mar 2024 03:16:49 -0600 Subject: [PATCH] feat: Interactive lorenz example (#3151) * Interactive lorenz * Separate Interactive Lorenz * Cleanup * Bigger graphs * Full screen examples --------- Co-authored-by: Jos de Jong --- examples/browser/lorenz.html | 22 ++- examples/browser/lorenz_interactive.html | 192 +++++++++++++++++++++++ 2 files changed, 213 insertions(+), 1 deletion(-) create mode 100644 examples/browser/lorenz_interactive.html diff --git a/examples/browser/lorenz.html b/examples/browser/lorenz.html index a751280ee3..6919e1623a 100644 --- a/examples/browser/lorenz.html +++ b/examples/browser/lorenz.html @@ -7,6 +7,22 @@ + @@ -36,7 +52,11 @@ type: "scatter3d", mode: "lines" }], - { width: 800, height: 600 } + { + responsive: true, + uirevision: 'true', + title:"Lorenz Attractor", + } ) // define the lorenz attractor diff --git a/examples/browser/lorenz_interactive.html b/examples/browser/lorenz_interactive.html new file mode 100644 index 0000000000..4a26c92ff2 --- /dev/null +++ b/examples/browser/lorenz_interactive.html @@ -0,0 +1,192 @@ + + + + + + math.js | Lorenz Attractor + + + + + + + + + +
+
+
+ Inputs: + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + +
+
+
+ + + + \ No newline at end of file