Commit Graph

13 Commits

Author SHA1 Message Date
Dan Buch
5d5ada2dfc Filling in Accumulator implementation and test client
as well as fixing the Canvas implementation so that it doesn't pop up an
X window on init.
2012-12-21 22:49:50 -05:00
Dan Buch
209e074503 Filling in Date implementation 2012-12-21 22:31:33 -05:00
Dan Buch
b7480b78a8 Closing window on 'q' instead of space
since it fits my brain better, was a leftover from the x-go-binding
example.
2012-12-21 17:29:05 -05:00
Dan Buch
809e5ae69e Fixing rectangle drawing
which was broken because I was treating the 3rd and 4th args to
`image.Rect` as width and height rather than end coords.
2012-12-21 09:19:35 -05:00
Dan Buch
be0c529381 Drawing pixel "misses" now
but looks like something is awry in how rectangles are being drawn.
2012-12-21 09:14:12 -05:00
Dan Buch
71ab8b249d Futzing around more with drawing API
including implementation of `Rectangle(...)` and supporting methods,
making `Draw()` a method of `Canvas`, other crap.
2012-12-21 00:34:30 -05:00
Dan Buch
d009f8b70d Getting a bunch more of the drawing API implemented
including drawing to a very plain X window, albeit an image of
nothingness.
2012-12-20 23:40:31 -05:00
Dan Buch
c2dc9cfe02 Starting work on the Interval2D example
and filling in drawing library along the way.
2012-12-20 10:47:12 -05:00
Dan Buch
5bf03a1a40 Cleaning up rolls implementation
to be a bit more idiomatic, I suppose.
2012-12-20 08:36:35 -05:00
Dan Buch
e81b35471e Fixing a few places where I was using "crypto/rand"
to use "math/rand" with a proper seeding instead.
2012-12-20 00:34:24 -05:00
Dan Buch
7a40632ca8 Implementing "Average" example
and supporting `Stdin.ReadDouble` method.
2012-12-19 23:23:35 -05:00
Dan Buch
9a1c045581 Implementing the "RandomSeq" example
with supporting implementation of `StdRandom.uniform`
2012-12-19 22:58:37 -05:00
Dan Buch
6ebbf04980 Re-namespacing one more time to get sources back in the same tree.
I dunno...  this whole thing should be its own repo, probably.  Meh.
2012-12-19 22:33:46 -05:00