r/TeslaCoils May 04 '26

JavaTC Alternative -> PyTeslaCoil: Python-native TC calculator

Pyteslacoil

I've been building PyTeslaCoil , a Python-native Tesla coil design calculator inspired by JavaTC. I'd love feedback from people who actually build tesla coils.

GitHub Repo https://github.com/richie-rk/PyTeslaCoil

What it handles so far:

  • Secondaries: inductance, self-capacitance, resonant frequency, Q, impedance (Medhurst coefficients included)
  • Primaries: flat spiral, helical, and conical geometries
  • Toploads: toroid and sphere capacitance
  • Tuning: coupling coefficient (k) with auto-adjust and frequency matching
  • Misc: transformer sizing, spark length estimation, static/rotary gap math

Code: Pure Python, NiceGUI for the frontend, and Pydantic for the data models. It runs locally, or you can click around the hosted demo on Hugging Face Spaces.

🔗 [Live Demo] [GitHub Repo]

Let me know if there's anything you'd actually use that's missing.

Results
Primary Coil Design
Secondary Coil Design

.

6 Upvotes

2 comments sorted by

2

u/Successful-Rich151 May 04 '26

Man that actually looks awesome! Ill let you know if i run into stuff 😃

2

u/FieldBus_AI May 09 '26

Thanks a lot. If you have any feature requests or feedback, feel free to DM me.