https://github.com/huangfusl/dsp-calculator
Desktop Dyson Sphere Program calculator
https://github.com/huangfusl/dsp-calculator
dyson-sphere-program rust
Last synced: 3 months ago
JSON representation
Desktop Dyson Sphere Program calculator
- Host: GitHub
- URL: https://github.com/huangfusl/dsp-calculator
- Owner: HuangFuSL
- License: mit
- Created: 2024-02-11T03:18:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T05:39:00.000Z (about 1 year ago)
- Last Synced: 2025-01-16T01:37:48.810Z (5 months ago)
- Topics: dyson-sphere-program, rust
- Language: Rust
- Homepage:
- Size: 3.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dsp-calculator
**Desktop** Dyson Sphere Program calculator
**⚠️⚠️Currently, this project is only in demo version. Most features have not been implemented yet.⚠️⚠️**
## Usage
Execute `cargo run` in the root directory of the project to run the program. Click on any item icon to calculate its production chain.

After clicking the icon of super-magnetic ring, the corresponding production chain will be displayed. The target production rate can be edited in the input box. The checkbox can be used to exclude certain items from the production chain.

## Features
* Calculate the production chain of any item (or multiple items) in the game.
* Scale the production chain.
* Selectively exclude items from the production chain.
* Calculate the proliferator usage.## Roadmap
* **Optimize UI**
* Optimize item selector
* Optimize production chain display (title, etc.)
* Add input panel to choose target item and its production rate
* Optimize internal widget styles
* Add item flow diagram
* Support export and load production chain from file
* Add global recipe config toggle for all steps
* Add CI workflow to publish executables## Known issues
* Calculation of `1 Coal + 2 Crude Oil => 3 Refined Oil` is not correct.
* Occasionally, when the production chain involves both `Hydrogen` and `Refined Oil`, the calculation may be stuck due to the circular dependency.
* When by-products exists, the calculation may be incorrect.If you find any undesired behavior, feel free to open an issue.
## Contribution
Since this project is still in the early stage, any contribution is welcome.
## Acknowledgements
* This project is inspired by [dsp-calc](https://github.com/DSPCalculator/dsp-calc/) project. This project also uses the icons from the same project.
## License
MIT License