feat: add variadic render graph logic nodes

Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab

Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
Amp
2026-07-29 10:03:06 +00:00
co-authored by heaust
parent 0e866596c0
commit 90406ae18f
34 changed files with 1031 additions and 273 deletions
+22
View File
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>fxnode logic nodes</title>
<link rel="stylesheet" href="../shared/example.css" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<main>
<h1>Composable logic nodes</h1>
<p>
AND, OR, XOR, and XNOR accept several links through one multi-input pill. Toggle a Boolean value to evaluate the
graph in application code.
</p>
<output id="results" aria-live="polite"></output>
<canvas id="graph" width="1200" height="700" aria-label="Logic node graph"></canvas>
</main>
<script type="module" src="./main.ts"></script>
</body>
</html>