Lisplog

Blogging in Lisp

Search

SVG Rocks!

Submitted by Bill St. Clair on Sat, 22 Oct 2016 10:01:57 GMT

I laid out the tables at Kakuro-Dojo.com as, well, html <table>s. There's a problem, though. They tend to squish sometimes, and it's bloody difficult, for me, to get them to auto-size properly for the small screen (e.g. iPhones). So I've decided to do it all myself, in SVG, and it doesn't look like i's going to be that hard. Below is my test code. Now I just have to parameterize it with the screen dimensions. The new code is likely to be simpler than the old. View source to see what the SVG looks like.

16 17 9 8 7 9

Add comment   Edit post   Add post

Previous Posts:

What Are You Listening To?
Wake 2011 iMac from Sleep
End the War on Freedom Returns!
Elm Converts Tail Calls to Loops!
My First Haskell Program
Karabiner-Elements for macOS Sierra
macOS 10.12 Sierra
Sizing An iOS Custom Keyboard for Scaled Apps
Conway's Life in JavaScript
Mac OS X 10.11.4 Beachball on Wake from Sleep