From 6e53fd0dfd830d6d96206419c530c71fa4b3f4e6 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 21 Oct 2021 19:28:20 +0200 Subject: :sparkles: Add attempt at the "simulation" --- src_frontend/Components/Editor/Simulation.svelte | 82 ++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src_frontend/Components/Editor/Simulation.svelte (limited to 'src_frontend/Components/Editor/Simulation.svelte') diff --git a/src_frontend/Components/Editor/Simulation.svelte b/src_frontend/Components/Editor/Simulation.svelte new file mode 100644 index 0000000..aba5cdd --- /dev/null +++ b/src_frontend/Components/Editor/Simulation.svelte @@ -0,0 +1,82 @@ + + + + +

(still quite buggy, especially for very fast changing pixels, if nothing is happening, try to restart the script)

+
+ {#each pixels as pixel} + {#if pixel > -1} +
+ {:else} +
+ {/if} + {/each} +
\ No newline at end of file -- cgit v1.2.3