https://github.com/eskils/swiftgrapher
Write equations as Swift code. Graphing tool for macOS.
https://github.com/eskils/swiftgrapher
grapher graphing graphing-application graphing-calculator graphing-calculator-programs macos macos-app swift
Last synced: about 1 month ago
JSON representation
Write equations as Swift code. Graphing tool for macOS.
- Host: GitHub
- URL: https://github.com/eskils/swiftgrapher
- Owner: Eskils
- License: mit
- Created: 2024-01-23T11:30:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-22T13:47:26.000Z (about 1 year ago)
- Last Synced: 2025-02-06T00:42:38.655Z (3 months ago)
- Topics: grapher, graphing, graphing-application, graphing-calculator, graphing-calculator-programs, macos, macos-app, swift
- Language: Swift
- Homepage:
- Size: 84.9 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftGrapher
A graphing tool for macOS allowing you to write equations as Swift code. This is a very early work in progress.
> **NOTE:** Requires Swift to be installed at */usr/bin/*.
Works by compiling your code with `swiftc` to a dylib, and then linking at runtime.
## Roadmap
- [x] Zooming in the graph view
- [ ] Syntax highlighting
- [x] Support multiple equations
- [ ] Display compiler errors
- [ ] Automatic compilation
- [x] Hiding function attributes such as `@_cdecl` and `public`## Tasks which might or might not make it
- [ ] Support computational commands like Intersect, Maxima, Minima, …
- [ ] Support other kinds of curves, like: parametric, radial, complex plane
- [ ] Support 3D graphs
- [ ] Separate version which embeds the Swift compiler## Contributing
Contributions are welcome and encouraged. Feel free to check out the project, submit issues and code patches.