News for hackers. Stuff that matters.
Re:A card game implemented in APL by RodgerTheGreat on Sunday August 16, 2015 @06:56PM (#10070579)
In iKe's case, the output of draw is used by JavaScript to render to an HTML5 Canvas tag.

https://github.com/JohnEarnest/ok/blob/gh-pages/ike/ike.html...

"draw" specifically returns a list of tuples which each consist of a position (or a vector of positions), a palette of colors and then a single pixel, a vector of pixels or a matrix of pixels. (Call it a rank 0, 1 or 2 bitmap, if you like.)

There are no comments on this comment yet.