summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-01-09 23:26:44 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-01-09 23:26:44 +0100
commitdedd803ee7cbe38938a0fe8b7bfc48450edb2c3c (patch)
treef074c5e7200750f8f2e5040b9910690dbec0b9e4
parent60ba872a93e2faff36f75c0971ee35fae16a18ef (diff)
Add plotter
-rw-r--r--plot.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/plot.go b/plot.go
new file mode 100644
index 0000000..d6d9b6d
--- /dev/null
+++ b/plot.go
@@ -0,0 +1,8 @@
+package main
+
+type Plotter interface {
+ Clear()
+ Dim() (width, height int)
+ Plot(x, y int)
+ Pen()
+}