Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 806 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 806 Bytes

preview

Running

Single file with the meson build system.

meson setup build
meson compile -C build
./build/src/plotter x^2

Usage

./build/src/plotter [equation] ?[o/no]

  • [o/no] – outline / no outline – force outline algorithm, quality outline vs only zero values
Keyboard
  • arrows – moves the viewport
  • W – zoom in
  • Z – zoom out
  • r – reset viewport to origin
  • q – quit

Trivia

This was the result of getting nerd-sniped to write a parser in C. It later motivated my high school graduation project here, which used a Rust rewrite of this parser here.