o
odin.langpkg.dev
packages / library / odin-terminal-graphics

odin-terminal-graphics

3850879library

A template for doing terminal graphics in odin

No license · updated 2 years ago

Odin terminal graphics!

Requirements:

  • a termbox2 wrapper library for odin (for ex: this)
  • kitty terminal
  • (optional) just

the src/main.odin contains some example code

how to use?

just run the run_kitty.sh file
./run_kitty.sh <window width> <window height> <repaint delay(ms)> <vsync (yes or no)> <your executable>

example (uses some simple math to draw a green circle)

ex