Hi Kyle, I added life-conway.clj to the files section last week. It has rand, clear, and bounded buttons, and the ability to use your mouse to draw the pattern rather than rely on rand. It's a good way to experiment with different automata such as gliders.
Larry Sherrill On Mar 16, 9:33 am, "Kyle R. Burton" <kyle.bur...@gmail.com> wrote: > On Mon, Mar 16, 2009 at 12:31 AM, Scott Fraser <scott.e.fra...@gmail.com> > wrote: > > > I have taken Larry's "Game of Life" example that he originally posted > > here: > > >http://groups.google.com/group/clojure/msg/fdfc88f1ba95bdee > > > ...and updated it to use all the CPU's your JVM has access to... > > Scott, > > Your changes indeed make it run significantly faster for me. Thanks! > > I added a 'reset' button and changed some of the java method calls to > be a bit more (I think) idomatic clojure. > > The full file is > here:http://asymmetrical-view.com/personal/code/clojure/life.clj > > And a patch is attached (you also left off the import statements in you > email). > > FYI: Scott Fraser is giving a talk on clojure at the Philly Emerging > Technologies for the Enterprise conference next week: > > http://phillyemergingtech.com/abstractsTab.php?sessID=39 > http://phillyemergingtech.com/speakers.php > > Regards, > > Kyle Burton > > -- > --------------------------------------------------------------------------- > --- > kyle.bur...@gmail.com http://asymmetrical-view.com/ > --------------------------------------------------------------------------- > --- > > life.patch > 3KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---