Urgent.News

What's breaking now, across thousands of outlets.

Tech

Show Dev: I built a 3D circuit simulator in Three.js

Post Body: Put together a browser-based 3D circuit simulator over the last few weeks: https://luvaai.in The idea was to make something zero-install where you can just open a tab, drop components on a breadboard in 3D, wire them up, and run a quick simulation without signing up or dealing with desktop software like Multisim or LTspice. How it's built The frontend is React 19, TypeScript, and Vite,…

A developer has crafted a browser-based 3D circuit simulator, accessible at https://luvaai.in. The goal was to create a zero-install platform where users can open a tab, place components on a virtual breadboard, connect them, and run simulations without the need for software like Multisim or LTspice.

The frontend is constructed using React 19, TypeScript, and Vite, with Three.js handling the 3D canvas and raycasting for component placement. State management is handled by Zustand, avoiding the complexity of Redux. The backend is powered by Express, running on Render and proxying Gemini 2.5 Pro for an AI helper panel that evaluates circuit states. Firebase is employed for Google authentication and design saving to Firestore.

A pre-renderer is included to generate static HTML for crawlers, enhancing search engine visibility on the /learn tutorial pages. The simulator's simulation engine provides DC steady-state analysis, including Ohm's law, series/parallel networks, Kirchhoff's voltage law, and basic behavior of components like capacitors and inductors.

However, it falls short in offering full transient and AC frequency-domain analysis compared to more advanced options like LTspice or ngspice. The component library is still expanding, as modeling and rigging custom 3D connection points in Three.js is a time-consuming process done individually. Touch controls on mobile devices are also found to be challenging for wiring connections.

The developer invites feedback on the Three.js performance and wire routing user experience.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Dynamically Tune WebSocket Heartbeat Intervals by Network Latency for Python Stock‑Market APIs

Intro For a FinTech course group assignment, our team built a small cloud‑deployed market‑data SaaS prototype. We used Python stock‑market APIs and WebSockets to ingest continuous tick‑based real‑time…

  • Adaptive heartbeat tuning adjusts intervals based on real-time link quality
  • Low latency (100-500 ms) uses 30-second intervals to minimize traffic
  • High latency (>500 ms) uses 10-second intervals to speed up failure detection

What is IoC and DI (Dependency injection)??

before we talk about IOC (Inversion of control) and DI (dependency injection) i will firstly explain why it is used. so basically when we create different classes in a spring boot application…

  • IoC is a design principle that transfers object creation responsibility to a framework.
  • DI is the practical implementation of IoC, using annotations like @Component and @Autowired.
  • Spring Boot container handles object lifecycle with IoC and DI.

Mac Studio M5 Ultra vs NVIDIA DGX Spark: The $5,500 Local AI Bet

Two weeks ago I priced out what it would take to run a 200B-parameter model in my apartment in Dhaka without cloud tokens.

  • Mac Studio M5 Ultra offers 512GB unified memory and 1.2TB/s memory bandwidth.
  • DGX Spark provides 128GB LPDDR5x memory at 273GB/s bandwidth.
  • Mac Studio supports larger models with 4-bit quantization up to 200 billion parameters.

More from Wednesday 26 August →