Jump to content

Particle simulation of a flock of birds?


ikaruga
 Share

Recommended Posts

To clarify, I'm not looking for anything complex or hyper realistic. As far as I can tell, there are *libraries* for this behavior. Ex: https://github.com/topics/flocking  But these are too complex.

I seem to recall years ago there were process.js examples of simple code for particle simulation of flocking behavior. Something like that is what I'm looking for. 

Thanks!

Update: ended up implementing the above example in Typescript and pixi.js: https://gist.github.com/frankandrobot/e93be4b3af781f779a26be096201d348

Edited by ikaruga
added solution
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...