GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tui-apps/algebra-visual: Live terminal function grapher: plot y = f(x) as you type (Go, Bubble Tea, ntcharts)

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
images
images
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eval.go
eval.go
 
 
eval_test.go
eval_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

algebra-visual

Plot y = f(x) in your terminal, redrawn live as you type.

algebra-visual plotting y = sin(x) * x

More example plots

y = sin(x) + cos(2x) y = cos(x) * exp(-abs(x) / 5)

Run

go run .

Or build a binary with go build -o algebra-visual . and run ./algebra-visual.

Usage

Type a function of x and the curve redraws on every keystroke.

sin(x) * x
x^2 - 4
2^x

The expression syntax covers + - * / % ^, parentheses, unary minus, and the variable x. Available functions include sqrt cbrt abs floor ceil round sin cos tan asin acos atan exp ln log log2. You can also use the constants pi, e, tau. The domain is fixed to [-10, 10] and the vertical range fits the visible curve.

ctrl+u clears the line. esc or ctrl+c quits.

License and contributing

Licensed under the MIT License (see LICENSE). Contributions are welcome; see CONTRIBUTING.md.

Citation

If you use this project, please cite it. A machine-readable CITATION.cff is included; expand below for a BibTeX entry.

BibTeX
@software{Vulpes_algebra-visual_2026,
  author  = {Vulpes, Aesthetic},
  title   = {algebra-visual},
  year    = {2026},
  month   = jul,
  version = {0.1.0},
  url     = {https://github.com/tui-apps/algebra-visual}
}

Related

Part of the tui-apps collection

Six small, single-purpose terminal apps.

App What it does
calc live calculator
algebra-visual function grapher (this repo)
classical-ciphers cipher encoder and decoder
crypto-charts crypto price charts
totp TOTP authenticator
life Conway's Game of Life

Related projects

  • lpchart — Chart InfluxDB line protocol in your terminal. Browse measurements, fields and tag sets interactively without knowing what is in the file first.
  • nimo — nano-inspired terminal text editor written in pure Nim.
  • life — Animated Conway's Game of Life in your terminal (Go, Bubble Tea)
  • totp — Terminal TOTP authenticator: live 2FA codes with countdown (RFC 6238, Go, Bubble Tea)
  • crypto-charts — Terminal crypto price charts: top coins and price history from the free CoinGecko API (Go, Bubble Tea)
  • classical-ciphers — Encode and decode classical ciphers in your terminal, live as you type (Atbash, Caesar, Vigenère, Rail Fence)
  • calc — Live terminal calculator: evaluates arithmetic as you type, no Enter key (Go, Bubble Tea)

About

Live terminal function grapher: plot y = f(x) as you type (Go, Bubble Tea, ntcharts)

Topics

algebrabubbleteacharmbraceletdata-plottingexpression-parserfunction-plottinggolang-tuigraphing-calculatormath-equationsmath-formulamath-learningmathematicntchartsplots-chartsplotting-librarysparkline-graphsterminal-uiterminal-visualizationtuiunicode-math

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.