Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Sorting of pieces is now in, too. The algorithm randomly places a few pieces on the board and then draws them correctly [masak.org]. The patch [github.com] this time is perhaps not the height of legibility, but it gets the job done with surprisingly little code.

    As for hiding surfaces, I'm not really sure at present if it's worth the trouble. But if it turns out to be, I now think I have a pretty good grasp on what can be done. There's a well-defined "directly behind" relation between pieces that can be used to weed out vertical surfaces. But this relation is a function of the viewing angle, becuase it's the rotation through the board's height axis that determines what's behind what.