⚡Interactive Tesla Coil Simulator⚡
Watch the coil generate realistic lightning bolts in real time. Click near the coil to make lightning arc towards the cursor!
Features
Adjust the characteristics of the lightning with the menu on the side.
- Intensity: Controls the strength of each bolt.
- Frequency: Controls how many bolts are generated every second.
- Linearity: Controls how straight the bolts are.
- Conductivity: Controls how far each bolt travels.
- Branching tendency: Controls how likely each bolt is to branch off.
Arc to cursor
Click on the screen close to the tesla coil to make sparks jump to your cursor. The greater the intensity, the further the arc jumps, and the thicker it is.
Note: Maximize the GUI window for the best experience.
Troubleshooting
- Some of you have reported that the app isn't loading. This issue happens occasionally. Try refreshing and waiting a while, or come back later and it should be fine.
- The lightning usually runs smoothly at medium intensity. At certain times, it might be laggy. It might have to do with traffic or the server.
- If you experience any issues with the code, feel free to tell me about it!
Have fun!
Let me know what you think, and share some cool pictures of your custom tesla coil in the comments below!
Edit: Thanks for the support everyone. You guys are awesome 🔥😍
The graphics are absolutely awesome, nice job!
This was really fun to play around with!
Yeah really coool. This absolutely deserves 10 CRORE forks
@PixiGem we usually learn international system first then we go to indian system because they are more similar
@PixiGem they can put what ever they please, they should not have to do what you suggest just because most people would not understand it.
Awesome. I found a bug, when you pull the lighting to the middle (the light):
main.py:129: RuntimeWarning: invalid value encountered in true_divide theta = acos(dot(arr1, arr2) / (linalg.norm(arr1) * linalg.norm(arr2))) * 180 / pi
I assume it's a divide by zero mathematical error.
my hair is standing on end now nice simulaton
That is really cool I wish I had more experience with python so I could help.
its not cool its very very very very awesome i cant tall about its keep it up
what difference between intensity and conductivity? You did explain it but It seems the same to me. Otherwise, really fun to experiment with!
@JSDRAGONCODER Thanks! Intensity controls the thickness of each bolt, which also allows more branches to form from each individual bolt. Conductivity increases the length of each bolt while decreasing branching interval but maintains the thickness. This makes the lightning seem to travel further.
@ChaseLean Thanks!
Really kewl! Where'd you learn the math for this?, it's so complex!
@RayhanADev Thanks! I'm just started a math uni course, so it's fun to apply the concepts. Most of them involve finding angles to make the lightning go where I want.
@ChaseLean that's amazing, I hope you enjoy it! And again this is awesome :D.
If you pull the cursor to right in the middle of the coil (where the lightning starts simulating from), I get a zero division error.
@CodingElf66 You're right. Thanks for notifying, I fixed it.
Wow!
coooooooooooooooooolllll
Awesome! If you maxout intensity, frequency, conductivity, and branching tendency than decrease linearity you get a lag machine
@FlaminHotValdez Hahaha nice observation. At first it was even worse, and I had to restrict the maximum of each feature to a reasonable amount.
Really cool!
cool
Really nice job creating the graphics!
This is quite impressive, especially with python!! Great job!
you guys are so helpful thanks
https://rozmusic.com/
Can someone gift me hacker it would really make my day
Call of Duty is the best shooting game ever with the feature of multi-player gaming.
click here.. https://subapks.com/call-of-duty-mod-apk/
Evertale Mod Apk is a game in which you will be transported to a mysterious world in which
check ot for more information.. https://apksdot.com/evertale-mod-apk/
Growing crops and raising livestock is one of the most profitable and widely practiced industries in the world.
click here for more details.. https://apksspace.com/farming-simulator-18-mod-apk/
The game FarmVille 2 Mod Apk will make sure that you get the best of the best and you will be able to get the best features with some of the most unique and some of the most extraordinary features.
check it now.. https://apksspot.com/farmville-2-mod-apk/
In Noizz Mod Apk you can edit your videos and photos without watermarks shown on your pictures and videos. Free to download and no advertisement will be displayed.
Download it from here.. https://apkshut.com/noizz-mod-apk/
Marvel Contest of Champions Mod Apk is a thrilling game; the game has vast, enormous battle and fighting series. Contest of champions is part of one of the series of marvel production.
click here.. https://apksdesk.com/marvel-contest-of-champions-mod-apk/
very laggy but very satisfying
Amazing!!
This is really good!
I was the 26th upvote. You're very welcome for getting on trending :)
hey why are you upvoting this
@JakeHu2020 BECAUSE WE CAN
@winnerwannabe2 lol ok
@JakeHu2020 because this is a good repl and you worked very hard you deserved to get botted upvotes (I AM KIDDING I FOLLOW TOS PLS DON'T BE MEAN TO MEE)
@CrawzyLedonen I guess so