Quick bug report: If I click and drag off/near the right side of the screen (on Leopard here) I get a Nil class exception. Looks good otherwise. A pause toggle would be nice when you want to keep speed consistent but still get a chance to draw stuff in without dragging the slider to 0.
On 2/6/08, Jeremy Ashkenas <[EMAIL PROTECTED]> wrote: > Sure thing. Here's a copy with :resizable => false > > Unfortunately, :resizable doesn't seem to have any effect whatsoever > on the mac, which is why I wasn't aware of it before. > > > > > > > On Feb 5, 2008, at 2:00 PM, Roman Semenenko wrote: > > > Thanks, Jeremy! > > Yesterday I thought to start writing something like this. > > Yes, it works good on Linux, but I have a proposal. As this app > > doesn't change it's layout or behavior on window resize, and have > > fixed width and height, could you add ":resizable => false" option > > to Shoes.app [options] do block? Without this, window will fill all > > frame in tiling window managers, like ion3, wmii, xmonad etc. > > Thanks again. > > > > Jeremy Ashkenas wrote: > >> For your consideration, a game. A Game of Life. Some even call it > >> *The* game of life. > >> > >> To play with it, click and drag across the screen to make critters. > >> Click individual critters to make them disappear. Use the slider at > >> the > >> bottom to speed up and slow down the generations. If you slow down > >> enough, the critters will pause, so that you can edit them to your > >> liking. > >> > >> "Clear" and "Seed with Critters" do what you'd expect. > >> > >> > >> Three avenues of inquiry: > >> > >> I'm having a bit of trouble with consistency between Shoes Curious > >> on Mac and Windows. It works great on Leopard. But on Windows XP > >> the main flow doesn't seem to draw anything. Does Shoes on Windows > >> not clear individual stacks and flows yet? > >> > >> Does this work on Linux at all? > >> > >> Maybe we could get a slider control in Shoes itself, patterned > >> after the > >> one towards the bottom of the file. It returns a float between 0 > >> and 1. > >> > >> > >> Okay, > >> — Jeremy > >> > >> ------------------------------------------------------------------------ > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > > > >
