Petra Kaminen Mosher · @kaminenmosher
459 followers · 1766 posts · Server zirk.us

@man At those sizes they're surely , no?

#boids

Last updated 1 year ago

Romain T. · @xiaoluoman
11 followers · 15 posts · Server mastodon.gamedev.place

Very happy of having participated in Hitboxmakers game jam this weekend! You can test my game on itch.io :)
I may iterate on it, was overall satisfied with the result.
surmoi.itch.io/school-of-fish

#jam #unity #boids #gamedev

Last updated 1 year ago

Dave Seidel 🐻 · @DaveSeidel
155 followers · 690 posts · Server mstdn.social

Select all images containing birds.

#boids #birbs #Birds

Last updated 2 years ago

Boids! (Not birds, but boids.)

en.wikipedia.org/wiki/Boids

Emergent behavior!

en.wikipedia.org/wiki/Emergenc

Out of chaos comes flock/school behavior...using just three simple rules.

This is all covered in the first 90 seconds of this video:

youtube.com/watch?v=bqtqltqcQh





#boids #emergentbehavior #emergence #math #chaos

Last updated 2 years ago

Jörg Kantel · @kantel
492 followers · 3379 posts · Server mastodon.social

Autonome Agenten in Py5 (Teil 1)

Getreu meiner gestrigen Ankündigung habe ich damit angefangen, so etwas wie Boids in Py5, dem freundlichen Python3-Port von Processing zu implementieren. Da ich zum einen die Implementierung für alle nachvollziehbar machen wollte und zum anderen immer noch mein Vorhaben im Raum steht, eine (erweiterte) Fassung von Daniel Shiffmans »The Nature of Code« in Python zu schreiben …
kantel.github.io/posts/2022121

#python #py5 #processing #boids #TheNatureOfCode

Last updated 2 years ago

Zagura · @zagura
95 followers · 305 posts · Server tech.lgbt

my can't stop getting into donut formations!! :angy:

#boids

Last updated 2 years ago

chihuamaranian · @chihuamaranian
39 followers · 44 posts · Server tech.lgbt

@arran

So I got around to checking out your project. You definitely have better performance than me from the SpatialHashSet you use.

I believe you can generalize this further for better performance by making the spatial structure recursive. Here's an example I whipped up a year or two back. Only works in 2d, but could be easily refactored to 3d as well:

gitlab.com/chihuamaranian/coll

It's a structure.

#boids #quadtree #spatialpartitioning #gamedev #programming

Last updated 2 years ago

chihuamaranian · @chihuamaranian
39 followers · 44 posts · Server tech.lgbt

I've gotten around to publishing the source for my first project implementing in 2D.

gitlab.com/chihuamaranian/boid

I dont expect I'll maintain this repo, but I want to keep it for reference (both for myself and anyone else curious)

#godot #boids #gamedev #programming #godotengine

Last updated 2 years ago

chihuamaranian · @chihuamaranian
39 followers · 44 posts · Server tech.lgbt

I've added 'predators' to my routine.

I've also refactored and extracted the Boids library away from the specific classes. Anything that implements a fairly minimal IBoids interface can have flocking added.

Maybe I'll publish this in a public repo soon for the curious.

I find that 'emergent behavior' is fairly unruly when you have a goal in mind. I can see why this isn't something regularly found in production games. Its hard to control.

#boids #godot #gamedev #programming #godotengine

Last updated 2 years ago

chihuamaranian · @chihuamaranian
39 followers · 44 posts · Server tech.lgbt

I've been learning for a little over a week now, and I have some to show for it.

For context, 'Boids' are entities that exhibit complex emergent 'flocking' steering behavior from a combination of three more basic drives: "seek", "flee", and "align".

I've been struggling with adding more complex wall colliders. Not sure where I'm going to take this next, but its been enlightening.

#godot #boids #gamedev #programming

Last updated 2 years ago

frankiezafe · @frankiezafe
437 followers · 3011 posts · Server mastodon.xyz

the behaviours and the control of animations are better in now :)
still some work to do to fine-tune speed, etc.
vimeo.com/594293621

@polymorphcool

#boids #godotengine #dev #gamedev #gameengine #simulation #crowd #nicolasgourault

Last updated 3 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

it's starting to become interesting in module: after hours of debugging of memory management, it's possible to explain to yellow cubes to follow spheres, and to spheres to avoid yellow cubes.
To have something smooth, there is a lot to params to adapt: inertia (affects acceleration), steer (affects rotation) and so on
video devlog: polymorph.cool/wp-content/uplo

#boids #dev #gamedev #simulation #interactions #ai #npc #swarm

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz
frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

Evolution of module in : i finally managed to master the memory creation in a consistent way => no more hard crashes (double free, malloc_consolidate & other funny stuff). Result: i'm now able to construct complex reaction of boids, with modification of plenty of parameters depending on the environment

#boids #godotengine #gamedev #simulation #swarm #dev #cpp

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

just finished a serialisation of behaviours: [{"class":"test" , "active"1, "after":0, "attr":0, "eval":0, "event":0, "jumpto":1, "param_bool":0, "repeat":1,,...
It's possible to copy/paste the object + generate + edit it manually, I think it's a cool feature, even if documentation is necessary...

@polymorphcool

#json #godotengine #gamedev #serialisation #boids

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

update on module for : you can use a "layer" system to group them with attractors, colliders and targets -> if not in the same group, boids do not floow each other, don't "see" colliders, etc.
in video, there are 3 groups: red, green & cyan
the big shaking dots are the barycenter of each group

@polymorphcool

#boids #godotengine #gamedev #dev #flock #simulation #agent #3d

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

a bit of tech p*rn to finish the day: code is getting more and more ready to perform intensive setup
scene #1: pushing everybody in a tube
**meaning of labels in top left corner**:
- frame per seconds
- time to solve the frame (CPU side)
- number of collisions to solve in current frame
- active boids count

@polymorphcool

#dev #cpp #boids #gamedev #3d #perfs #godotengine #visualcomplexity

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

optimisation of collisions is on its way in module: the domain is now able to locate the cells occupied by colliders, attractors and targets (all objects that require collision tests). The "holes" (red dots) visible in the first image are easily fixed by adjusting subdivision param for each collider.
Next step is to link this step into the linear processing of boids

#boids #godotengine #gamedev #dev #flock #simulation

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

fast box registration in a grid: it is far from perfect, but same code can also be used for collision, more precise than grid registration
it's great to be able to prototype algorithm in gdscript > you work on code while it's running: i've made a livecoding perf for myself all day :)
music: Anima Exhalare by Eths

@polymorphcool

#boids #godot #dev #3d #grid #raster #gamedev

Last updated 4 years ago

frankiezafe · @frankiezafe
437 followers · 3013 posts · Server mastodon.xyz

boids auto-organisation: done!
i guess these pattern is due to the implementation of collisions between boids... quite strange to see this happening in front of your eyes!

#gamedev #godot #boids #simulation #pattern #emergence

Last updated 4 years ago