This was probably the most technically dense update so far, as I restructured the Learn mode to be modular and implemented a much more powerful calculation engine.
The Learn mode is no longer a single sequence of lessons but now has thematic modules (Ohm’s Law, Series vs. Parallel, and Multimeter in Practice (which is still to come)). Now, when entering Learn mode, you choose the module (1, 2, 3), and Esc always returns to the selection instead of exiting the entire mode.
Until now, the simulator could only perceive a single closed series circuit; it couldn’t build real branches. So, I implemented a new serial/parallel reduction-based engine that can correctly calculate any combination of series and parallel resistors mounted on the screen, including switches and buttons as part of the network. This engine coexists with the old one, and when the circuit has an LED or Motor, it continues to use the series chain logic, but when it’s just a resistive network, it uses the new engine. But there is still a limitation, since “bridge” circuits (which would require Kirchhoff’s Laws) are not supported for now; the program warns when it detects this situation instead of giving an incorrect result.
For now, the series and parallel module has 3 lessons: calculating total resistance in series, in parallel, and physically assembling two resistors in parallel to achieve a target current.
I also fixed a layout problem where longer statements went off the panel; for this, I implemented automatic line breaks that adjust the panel height depending on the text.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.