GithubHelp home page GithubHelp logo

spacha / circuitmod Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9.07 MB

A fork of CircuitMod with the aim to fix some critical issues. Circuitmod is an open source circuit simulator based on original Falstad's Java Circuit Simulator.

HTML 2.60% Inno Setup 0.64% Java 96.67% Shell 0.09%

circuitmod's People

Contributors

spacha avatar

Stargazers

 avatar

Watchers

 avatar

circuitmod's Issues

Improve layout

The layout is a bit janky, especially CircuitLayout. The right panel, "sidepanel", should have padding, the side ppanel should have fixed size while the canvas fills the rest of the space etc.

Keyboard interactions should be disabled when in dialog

Currently, using keyboard to write input to edit dialog or interacting with other dialogs, the keyboard commands are also sent to the canvas, which should not happen (e.g. pressing x in a dialog changes the current tool to "Add text" and arrow keys move the active element).

Fix creation of chip elements and other fixed-size elements

They should be created in similar manner with text elements, without dragging.

  • Mouse press: Create "drag element" to the mouse location
  • Mouse release: Create the actual element to the release position

For example, with chip elements, such as VCO, the chip disappears if mouse is dragged to left. Also the posts are created according to the mouse release location (wrong!).

Issues with EditDialog

Something is not right with the edit dialog. It seems that these bugs were introduced recently with version 2.7 (before this fork).

Resistor, inductor etc.: federoggio: "EditDialog.java in problems, when you put 100 in ohms in resistor, it set 99.8 ohms."

This happens with inductor, resistor, capacitor etc. (10 -> 9.92, 1k -> 99,2, ...)

Voltage source: changing the DC value sets the voltage to 0V (or 20V in some cases). This has something to do with the adjustmentValueChanged callback that sets the value after it has been already set in the text field.

This problem is not present in the released 2.7 version.

  • Should not open multiple edit dialogs when changing the voltage source type
  • Should not set voltage to random values (usually 0V or 20V)
  • Should not change the resistance and other values from 1k to 99.2 etc.
  • (minor) Should not flicker scrollbar on the text field | JDK-BUG

Fix undo+redo

Currently undo and redo are very unreliable and unpredictable in their behavior. This should be fixed.

Advanced scope view

This could open in a separate window or (preferably) in the scope view.

Possible features

  • set cursors
  • measure frequency
  • panning/zooming
  • export waves to a file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.