tag:blogger.com,1999:blog-16002962.post7685990474949676347..comments2023-10-13T01:00:52.135-07:00Comments on Web Jazz: Introducing Frock, a flocking chicken simulation written in Lua with LöveWil Chttp://www.blogger.com/profile/03696320260631888445noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-16002962.post-55948566048417862392009-09-30T05:50:02.326-07:002009-09-30T05:50:02.326-07:00Cool post - and interesting video - those noises a...Cool post - and interesting video - those noises at 4:12 though are a little silly… I'm curious to see the flock (or, perhaps, frock) that you made…Zachhttps://www.blogger.com/profile/16639969212810345717noreply@blogger.comtag:blogger.com,1999:blog-16002962.post-56540392248553715152009-09-27T05:04:54.438-07:002009-09-27T05:04:54.438-07:00No I hadn't finished doing that. I know it...No I hadn't finished doing that. I know it's been a while, but I've started working on other things. However, this is something that I always want to come back to. <br /><br />Love is pretty easy to use, and Lua is quick to pick up (with some exception to its barebones object model). <br /><br />I think in this case algorithmic optimization really helps out in perceived speed. In games especially, every corner you can cut and still have perceived realism is enough. <br /><br />Also try reducing the resolution your boids "think" at. You can have them do that every five time steps. If you check out Craig Reynold's work, he talks about how to optimize boid sims in his papers.Wil Chttps://www.blogger.com/profile/03696320260631888445noreply@blogger.comtag:blogger.com,1999:blog-16002962.post-15760838026316585912009-09-25T14:59:13.787-07:002009-09-25T14:59:13.787-07:00Did you end up optimizing this at all in the end? ...Did you end up optimizing this at all in the end? I'm working on a similar project, currently using Processing but it's not totally adapted to making games and was thinking of switching to Löve... problem is I'm hoping for 400ish boids on an aging Pentium M (about as powerful as a current Atom n270) and i had doubts that it would run in Lua seeing how it struggled in Java.plAcidhttps://www.blogger.com/profile/07085849851615909695noreply@blogger.comtag:blogger.com,1999:blog-16002962.post-55136879101747734932009-02-15T12:30:00.000-08:002009-02-15T12:30:00.000-08:00A minor point - chickens don't flock. Ducks do ve...A minor point - chickens don't flock. Ducks do very nicely, but not chickens. There's a project from 1998 that showed robot gathering ducks, designed in a simulator. The video on the page shows the ducks flocking.<BR/><BR/>http://www.cs.sfu.ca/~vaughan/projects/RSP.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-16002962.post-77003895147832567012009-02-13T08:28:00.000-08:002009-02-13T08:28:00.000-08:00Using the voronoi diagram as a mechanism to mainta...Using the voronoi diagram as a mechanism to maintain the area of interest for a sim works very well. Here's the videos of my <A HREF="http://www.tensegrity.hellblazer.com/2008/05/event-driven-cage-match-predatorprey.html" REL="nofollow">predator/prey simulations using the technique</A>.Hal Hildebrandhttps://www.blogger.com/profile/04179863099003329867noreply@blogger.comtag:blogger.com,1999:blog-16002962.post-44861007695938339982009-02-12T17:46:00.000-08:002009-02-12T17:46:00.000-08:00great idea and, as a brazilian, i'm proud to see u...great idea and, as a brazilian, i'm proud to see u using lua!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-16002962.post-87432378249218587432009-02-12T17:16:00.000-08:002009-02-12T17:16:00.000-08:00cool.instead of r-tree, you could use the simpler ...cool.<BR/>instead of r-tree, you could use the simpler quad-tree, there's a nice python/pygame implementation here that i imagine wouldn't be too difficult to translate to lua:<BR/>http://www.pygame.org/wiki/QuadTreeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-16002962.post-6962646054868089192009-02-12T13:12:00.000-08:002009-02-12T13:12:00.000-08:00Hi there. Great Port! Flying chickens! I especiall...Hi there. Great Port! Flying chickens! <BR/><BR/>I especially like your changes to the avoidance vector calculation. Keep up the good work.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-16002962.post-66751199882489063252009-02-12T11:31:00.000-08:002009-02-12T11:31:00.000-08:00If you wanted to bite off something complicated fo...If you wanted to bite off something complicated for your neighbor comparison ... :)<BR/><BR/>http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.45.8944Anonymousnoreply@blogger.com