Eskils / SwiftGrapher

Write equations as Swift code. Graphing tool for macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftGrapher

A graphing tool for macOS allowing you to write equations as Swift code. This is a very early work in progress.

Skjermbilde 2024-02-03 kl  11 16 18

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

  • Zooming in the graph view
  • Syntax highlighting
  • Support multiple equations
  • Display compiler errors
  • Automatic compilation
  • 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.

About

Write equations as Swift code. Graphing tool for macOS.

License:MIT License


Languages

Language:Swift 100.0%