Add Braille canvas and basic line plots
This commit is contained in:
parent
c4a5e84025
commit
516237d2bc
4 changed files with 123 additions and 0 deletions
13
demo.ss
Executable file
13
demo.ss
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env gxi
|
||||
|
||||
(export main)
|
||||
|
||||
(import :std/misc/string
|
||||
:dlozeve/fancy/format
|
||||
:dlozeve/uniplot/lineplot)
|
||||
|
||||
(def (main . args)
|
||||
(let* ((xs (iota 1000 0 0.01))
|
||||
(ys1 (map cos xs))
|
||||
(ys2 (map sin xs)))
|
||||
(displayln (line-plot [xs ys1 ys2]))))
|
Loading…
Add table
Add a link
Reference in a new issue