Skip to content

About

An advanced logic circuit algorithm for gate optimization and digital logic simulation. Faster than standard methods

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

Logic Circuit Algorithm logo

Logic Circuit Algorithm

An advanced logic circuit algorithm for gate optimization and digital logic simulation — faster than standard methods.

Live Demo Project Page

Version License Python JavaScript HTML5 CSS3

🚀 Try it live · 📄 Technical article (EN) · 📄 Proje detayı (TR) · 🇹🇷 Türkçe oku


Logic Circuit Lab — main interface

✨ Overview

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.

🎯 Features

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

🖼️ Screenshots

Screenshot 1 Screenshot 2 Screenshot 3
Screenshot 4 Screenshot 5 Screenshot 6
Screenshot 7 Screenshot 8 Screenshot 9

▶ See it in action on the live demo

🚀 Quick Start

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/ folder

📁 Repository Structure

Logic-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

🧰 Built With

Python · HTML · CSS · JavaScript · SVG (wire/connection layer)

🔗 Links

📜 License

Released under the MIT License.


🇹🇷 Türkçe oku (tıkla)


✨ Genel Bakış

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.

🎯 Özellikler

  • 🔌 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

Ekran görüntüleri yukarıdaki Screenshots bölümünde yer almaktadır. Canlı deneyim için: ▶ Canlı demo

🚀 Hızlı Başlangıç

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

📄 Belgeler

🧰 Kullanılan Teknolojiler

Python · HTML · CSS · JavaScript · SVG

📜 Lisans

MIT Lisansı ile yayınlanmıştır.

About

An advanced logic circuit algorithm for gate optimization and digital logic simulation. Faster than standard methods

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages