An advanced logic circuit algorithm for gate optimization and digital logic simulation — faster than standard methods.
🚀 Try it live · 📄 Technical article (EN) · 📄 Proje detayı (TR) · 🇹🇷 Türkçe oku
Logic Circuit Algorithm is an interactive digital logic project that lets you build, wire and simulate logic circuits directly in the browser, backed by an optimized circuit-evaluation algorithm. Drag components onto the workspace, connect them with pins and wires, toggle inputs in real time and watch the signals propagate to the output.
The repository contains both the web simulator and the Python logic-processing layer that evaluates circuit definitions and Boolean operations according to their dependencies.
💡 No installation needed — open the live demo and start designing.
| Feature | Description | |
|---|---|---|
| 🔌 | Logic gates | INPUT, AND, OR, NOT, XOR, OUTPUT components |
| 🖱️ | Interactive builder | Drag & drop components, move them freely, connect pins with interactive wires |
| ⚡ | Real-time simulation | Toggle inputs and instantly see how logic states propagate |
| 📊 | Truth tables | Automatically generated from your circuit |
| 🤖 | AI assistant | Build and validate circuits with the built-in AI helper |
| 🧪 | Ready-made circuits | Load example circuits and learn by exploring |
| 🛠️ | Arduino / ESP32 / ESP8266 | Run sketches with a serial monitor and sample code (Blink, button + LED, traffic light, DHT22 + LCD, GPS tracker, …) |
| ↩️ | Undo & management | Undo changes, delete components or wires, clear the whole circuit |
| 📱 | Desktop & mobile | Mouse on desktop, touch controls on phones and tablets |
| 🌍 | Bilingual | English and Türkçe interface |
| ♾️ | Unlimited design | No predefined circuit size limit |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
▶ See it in action on the live demo
Web (recommended) — just open the live simulator:
👉 https://sotstech.com/project/logic_circuit_algorithm/
Run locally
git clone https://github.com/AstroBesat-SoftW/Logic-Circuit-Algorithm.git
cd Logic-Circuit-Algorithm
# Web simulator: open Web/index.html in your browser
# Python layer: see the Python/ folderLogic-Circuit-Algorithm/
├── Python/ # Python logic-processing layer
├── Web/ # Browser-based simulator
├── Proje_detay.pdf # Project details (Turkish)
├── Proje_detay_EN_article.pdf # Project details / article (English)
├── LICENSE # MIT
└── README.md
Python · HTML · CSS · JavaScript · SVG (wire/connection layer)
- 🌐 Live demo: https://sotstech.com/project/logic_circuit_algorithm/
- 🏠 Project page: https://sotstech.com/project.php?p=logic-circuit-simulator
- 📄 English article: Proje_detay_EN_article.pdf
Released under the MIT License.
Logic Circuit Algorithm, mantık devrelerini doğrudan tarayıcıda kurmanızı, bağlamanızı ve simüle etmenizi sağlayan interaktif bir dijital mantık projesidir. Arkasında optimize edilmiş bir devre değerlendirme algoritması çalışır. Bileşenleri çalışma alanına sürükleyin, pinler ve kablolarla bağlayın, girişleri anlık değiştirin ve sinyalin çıkışa nasıl ulaştığını izleyin.
Depo hem web simülatörünü hem de devre tanımlarını ve Boolean işlemlerini bağımlılık sırasına göre değerlendiren Python mantık işleme katmanını içerir.
💡 Kurulum gerekmez — canlı demoyu açın ve tasarlamaya başlayın.
- 🔌 Mantık kapıları:
INPUT,AND,OR,NOT,XOR,OUTPUT - 🖱️ İnteraktif devre oluşturucu: Sürükle-bırak, serbest taşıma, etkileşimli kablo bağlantıları
- ⚡ Gerçek zamanlı simülasyon: Girişleri değiştirin, mantık durumlarının yayılımını anında görün
- 📊 Doğruluk tablosu: Devrenizden otomatik üretilir
- 🤖 Yapay zekâ asistanı: Devre kurma ve doğrulama desteği
- 🧪 Hazır devreler: Örnek devrelerle keşfederek öğrenin
- 🛠️ Arduino / ESP32 / ESP8266: Seri monitör ve örnek kodlarla (Blink, butonla LED, trafik ışığı, DHT22 + LCD, GPS takip vb.)
- ↩️ Geri al ve yönetim: Geri alma, bileşen/kablo silme, devreyi temizleme
- 📱 Masaüstü ve mobil: Masaüstünde fare, mobilde dokunmatik kontrol
- 🌍 İki dilli arayüz: English ve Türkçe
- ♾️ Sınırsız tasarım: Önceden tanımlı devre boyutu sınırı yoktur
Ekran görüntüleri yukarıdaki Screenshots bölümünde yer almaktadır. Canlı deneyim için: ▶ Canlı demo
Web (önerilen): https://sotstech.com/project/logic_circuit_algorithm/
Yerelde çalıştırma
git clone https://github.com/AstroBesat-SoftW/Logic-Circuit-Algorithm.git
cd Logic-Circuit-Algorithm
# Web simülatörü: Web/index.html dosyasını tarayıcıda açın
# Python katmanı: Python/ klasörüne bakın- 🇹🇷 Proje detayı: Proje_detay.pdf
- 🇬🇧 İngilizce makale: Proje_detay_EN_article.pdf
Python · HTML · CSS · JavaScript · SVG
MIT Lisansı ile yayınlanmıştır.








