commit 1f95b1a97af094f9954757ddcfe4a4bdaa5f8e91 Author: Jose Luis Montañes Date: Thu Mar 19 18:37:39 2026 +0100 Initial commit: logic gate simulator diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5ebe438 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx:alpine +COPY index.html /usr/share/nginx/html/index.html +EXPOSE 80 diff --git a/index.html b/index.html new file mode 100644 index 0000000..ba70d97 --- /dev/null +++ b/index.html @@ -0,0 +1,580 @@ + + + + + + Logic Gates — MontLab + + + +
+ + + +
+ + + + + + +
+ + +
+
+ + + +
+
+

Logic Gate Simulator

+
    +
  • Click a gate button in the toolbar, then click on the canvas to place it
  • +
  • Drag gates to move them around
  • +
  • Click on an output port (right side), then click an input port (left side) to connect them
  • +
  • Click on an INPUT gate to toggle its value (0/1)
  • +
  • Press Delete or Backspace while hovering a gate to delete it
  • +
  • Right-click a connection to delete it
  • +
  • The circuit evaluates in real-time
  • +
+

Built with ❤️ at MontLab

+ +
+
+ + + +