From 65a5b8bd83b1d83a986ae2175cf4bef95cc6ac42 Mon Sep 17 00:00:00 2001 From: johnruina Date: Tue, 9 Jun 2026 09:49:35 -0400 Subject: [PATCH] draw and fixes --- draw.html | 588 +++++++++++++++++++++++++++++++++++++ fluid.html | 773 +++++++++++++++++++++++++++++++++++++++++++++++++ fractal.html | 522 +++++++++++++++++++++++++++++++++ index.html | 805 +-------------------------------------------------- 4 files changed, 1890 insertions(+), 798 deletions(-) create mode 100644 draw.html create mode 100644 fluid.html create mode 100644 fractal.html diff --git a/draw.html b/draw.html new file mode 100644 index 0000000..22a4ab0 --- /dev/null +++ b/draw.html @@ -0,0 +1,588 @@ + + + + + + awesome johnruina site + + + + + + +
+ ← Back +
+ +
+
+ +
+
+
Drawing Tools
+ + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + + +
+ + +
+
+ + + + diff --git a/fluid.html b/fluid.html new file mode 100644 index 0000000..49b3499 --- /dev/null +++ b/fluid.html @@ -0,0 +1,773 @@ + + + + + + awesome johnruina site + + + + + + +
+ ← Back +
+ +
+
+ +
+
+
Fluid Settings
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
Palette
+
+
+ +
+ Zoom: 1.00x +
+ + + +
+
+ +
drag to disturb · WASD to pan · scroll to zoom
+ + + + diff --git a/fractal.html b/fractal.html new file mode 100644 index 0000000..977e520 --- /dev/null +++ b/fractal.html @@ -0,0 +1,522 @@ + + + + + + awesome johnruina site + + + + + + +
+ ← Back + 1.00x +
+ +
+
+ + + + + + + + + + +
+
+ +
∞ julia set
+
WASD to pan · Scroll to zoom · P to cycle palette · Esc to go back
+
+
+ + + + diff --git a/index.html b/index.html index 4398cb3..621deec 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Coming Soon + awesome johnruina site @@ -46,6 +46,8 @@ } .action-btn { + display: inline-block; + text-decoration: none; padding: 1rem 2rem; background: #1a1a2e; color: #e0e0e0; @@ -59,6 +61,7 @@ letter-spacing: 0.5px; white-space: nowrap; text-transform: uppercase; + text-align: center; } .action-btn:hover { @@ -68,130 +71,9 @@ transform: scale(1.03); } - .overlay { - display: none; - position: fixed; - top: 0; left: 0; - width: 100%; height: 100%; - background: rgba(0,0,0,0.92); - z-index: 100; - } - - .overlay.open { display: block; } - - .close-btn { - position: absolute; - top: 1.5rem; right: 2rem; - background: none; border: none; - color: #888; - font-family: 'Inter', sans-serif; - font-size: 1.5rem; - font-weight: 800; - cursor: pointer; - z-index: 10; - transition: color 0.2s; - } - - .close-btn:hover { color: #fff; } - - .fractal-layout { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - gap: 1.5rem; - padding: 3rem; - } - - .fractal-sidebar { - display: flex; - flex-direction: column; - gap: 0.5rem; - max-height: 80vh; - overflow-y: auto; - } - - .fractal-sidebar button { - padding: 0.6rem 1.2rem; - background: transparent; - color: #666; - border: 1px solid #333; - border-radius: 6px; - font-family: 'Inter', sans-serif; - font-weight: 600; - font-size: 0.7rem; - cursor: pointer; - transition: all 0.25s; - text-transform: uppercase; - letter-spacing: 0.5px; - text-align: left; - } - - .fractal-sidebar button:hover { color: #ccc; border-color: #555; } - - .fractal-sidebar button.active { - color: #fff; - border-color: #4a4a8a; - background: #1a1a2e; - box-shadow: 0 0 12px rgba(74,74,138,0.2); - } - - .fractal-main { - display: flex; - flex-direction: column; - align-items: center; - gap: 0.8rem; - } - - .fractal-main canvas { - max-width: 75vw; - max-height: 80vh; - border-radius: 12px; - box-shadow: 0 0 60px rgba(74,74,138,0.2); - image-rendering: pixelated; - } - - .fractal-label { - color: #666; - font-family: 'Inter', sans-serif; - font-size: 0.7rem; - letter-spacing: 1px; - text-transform: uppercase; - } - - .fluid-canvas-wrap { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - } - - .fluid-canvas-wrap canvas { - max-width: 95vw; - max-height: 90vh; - border-radius: 12px; - box-shadow: 0 0 60px rgba(74,74,138,0.15); - cursor: crosshair; - } - - .fluid-label { - position: absolute; - bottom: 1.5rem; - left: 50%; - transform: translateX(-50%); - color: #444; - font-family: 'Inter', sans-serif; - font-size: 0.7rem; - letter-spacing: 1px; - text-transform: uppercase; - pointer-events: none; - } - @media (max-width: 700px) { .main-content { flex-direction: column; align-items: center; } .button-sidebar { flex-direction: row; } - .fractal-layout { flex-direction: column; } - .fractal-sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; max-height: none; } } @@ -203,686 +85,13 @@
- - + FRACTAL + FLUID SIM + DRAW
-
- -
-
- - - - - - - - - - -
-
- -
∞ julia set
-
-
-
- -
- -
- -
-
drag to disturb the fluid
-
-