Skip to content

Simple terminal-based implicit function plotter

Notifications You must be signed in to change notification settings

mihavlic/toy-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple terminal-based implicit function plotter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published