SLaks/Silon
View on GitHub ↗ ★ 343 HTML
Logic Gates and Adders in pure CSS
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2015-05-18 · latest 2026-02-24
20082026
-
It has been a while. This project that implemented logic gates in CSS is 10+ years old: https://github.com/SLaks/Silon Linked from here: https://gwern.net/turing-complete#surprisingly-turing-comple...
comment by omoikane · 2026-02-24 · in Show HN: X86CSS – An x86 CPU emulator written in CSS -
…this would be implemented by recreating a calculator logic gates using nothing but css selectors. https://github.com/SLaks/Silon
comment by adamredwoods · 2022-01-21 · in NoJS – Creating a calculator with only HTML and CSS -
is it, though? https://github.com/SLaks/Silon#implementation-details "Silon is implemented using LESS to generate CSS selectors for every combination of inputs that will turn each gate on. In effect, I created a LESS-based DSL that…
comment by aji · 2016-09-30 · in Computing primes with CSS -
Note that that's all computed by LESS code. https://github.com/SLaks/Silon#implementation-details https://github.com/SLaks/Silon/blob/gh-pages/styles/_operato... The actual declarations end up being nicely simple; see…
comment by slaks · 2015-05-19 · in Silon – Adders and Logic Gates in Pure CSS -
In case you're wondering what makes it tick: https://github.com/SLaks/Silon/blob/gh-pages/styles/basic-ga...
comment by jacquesm · 2015-05-18 · in Silon – Adders and Logic Gates in Pure CSS