Re: Alternating rules
Posted: May 5th, 2013, 1:59 am
Brian,
I've been intrigued by your rule and pattern collection, but unfortunately, I've been reluctant to run Square Cell once I realized I had to hook up an external keyboard to my Macbook in order to use the numeric keypad versions of "+" and "-". (The macbook doesn't have a numeric keypad.) It may be that ExtremeEnthusiast is (or was) having the same problem. I haven't tried changing your source code, but it looks like a quick fix would be to replace VK_ADD and VK_SUBTRACT in Squarecell.java with some less problematic keys...
Or, if that seems too cheesy.... this stackoverflow page (especially the 2nd answer) gets into the details of the two "+" keys: http://stackoverflow.com/questions/1560 ... g-plus-key
As for the "-" keys, the keycodes (on my machine at least) are 109 on the numeric keypad and 189 on the regular keyboard. Finally, for completeness, Page-Up and Page-Down do work on the mac, using the function key along with the up and down arrows.
For anyone else reading this far, just one of the nice things about Square Cell is that it allows you to work very easily in the Radius 2 neighborhood. And to get back on topic, that includes Brian's Cyclic rule family, in which you can alternate between different Radius 2 neighborhoods.
-- Eric
I've been intrigued by your rule and pattern collection, but unfortunately, I've been reluctant to run Square Cell once I realized I had to hook up an external keyboard to my Macbook in order to use the numeric keypad versions of "+" and "-". (The macbook doesn't have a numeric keypad.) It may be that ExtremeEnthusiast is (or was) having the same problem. I haven't tried changing your source code, but it looks like a quick fix would be to replace VK_ADD and VK_SUBTRACT in Squarecell.java with some less problematic keys...
Or, if that seems too cheesy.... this stackoverflow page (especially the 2nd answer) gets into the details of the two "+" keys: http://stackoverflow.com/questions/1560 ... g-plus-key
As for the "-" keys, the keycodes (on my machine at least) are 109 on the numeric keypad and 189 on the regular keyboard. Finally, for completeness, Page-Up and Page-Down do work on the mac, using the function key along with the up and down arrows.
For anyone else reading this far, just one of the nice things about Square Cell is that it allows you to work very easily in the Radius 2 neighborhood. And to get back on topic, that includes Brian's Cyclic rule family, in which you can alternate between different Radius 2 neighborhoods.
-- Eric