Versions in this module Expand all Collapse all v0 v0.1.1 Apr 27, 2018 Changes in this version + var CanvasHeight = 700 + var CanvasWidth = 700 + var Draw = func() + var ErrorContainer errorContainer + var FilesPath = "" + var PathPrefix = "" + var ServerPort = ":2700" + var SleepPerFrame = time.Millisecond * time.Duration(50) + func Arc(x, y, w, h, start, stop float64, mode string) + func Background(color string) + func Bezier(x1, y1, x2, y2, x3, y3, x4, y4 float64) + func BezierDetail(detail int) + func Clear() + func Curve(x1, y1, x2, y2, x3, y3, x4, y4 float64) + func CurveDetail(detail int) + func DrawCmd(cmd string) + func Ellipse(x, y, w, h float64) + func Fill(color string) + func Image(imgName string, x, y, w, h float64) + func Line(x1, y1, x2, y2 float64) + func LoadImage(imgName, imgFile string) + func NoFill() + func NoStroke() + func Point(x, y float64) + func Quad(x1, y1, x2, y2, x3, y3, x4, y4 float64) + func Rect(vals ...float64) + func Serve() error + func Stroke(color string) + func Text(str string, xyWidth ...float64) + func TextSize(size int) + func Triangle(x1, y1, x2, y2, x3, y3 float64) + type Data struct + FrameCount int + SketchDraw string + SketchPreload string + type P5Event struct + MouseButton string + MouseIsPressed bool + MouseX int + MouseY int + PMouseX int + PMouseY int + PWinMouseX int + PWinMouseY int + WinMouseX int + WinMouseY int + var Event P5Event