Comments (4)
Hmm, that's weird. If you make the timestep smaller (like 3u) it fixes it. Or adjust the values.
Do you have "trapezoidal approximation" unchecked? You could check that, and it fixes it for me. That's weird, because usually trapezoidal is less stable.
from circuitjs1.
I left everything besides the component values the default. So trapezoidal was checked on the capacitor.
If it has anything to do with it, here's my chrome://version:
122.0.6261.89 (Official Build) Built on Raspbian , running on Raspbian 11 (32-bit)
Perhaps it's 32-bit vs. 64-bit floating point error.
from circuitjs1.
I thought javascript floating point always used double precision. Otherwise lots of examples would not work, I think.
from circuitjs1.
As a reference, I made the same circuit, set time step to 3µs, and it still freaked out.
Other machine chrome://version:
114.0.5735.119 (Official Build) (64-bit)
from circuitjs1.
Related Issues (20)
- 7 seg led off segments too dark in common cathode and anode mode in white background mode
- 7 seg led relay always on in logic inputs mode when direct connect to relay HOT 2
- How can I make logic gates inside subcircuits use specific voltage level?
- File SaveAs
- Mouse Scroll Wheel Resistors and Capacitors Values HOT 13
- 'show frequency' is intermittent HOT 3
- Scope Vertical Scale HOT 2
- Labeled Nodes HOT 2
- Bug. Incorrect Diode behavior HOT 2
- "Outputs and Lables / Box" Selection HOT 1
- Comparotor OUT Spike HOT 1
- Default colors
- Tristate buffers can be sized such that it is impossible to connect their middle terminal
- Subcircuit terminals shared between all Instances. HOT 3
- Pulse voltage stuck at 15.9154943092 duty cycle (square duty works) HOT 4
- FFT does not use a window function HOT 2
- Mac apple silicon sometimes no quit...
- Feature Request: Mosfet selection via scroll wheel
- 7 seg led grey segments not show in off state in white background mode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circuitjs1.