The Babylon.js monthly challenge is back!

Dear community!

8 years ago I started a silly-yet-fun series of challenges with the babylon community. The idea was to have fun, and see the different ways people solve the same challenge. The original post is here -

@gryff has reminded me how much fun these were so… Let’s do that again!

To celebrate me deciding to try this challenge series again, I want to do the same challenge as back then:

3D Game Of Life!

A favorite of students and professors alike :slight_smile:

The rules were copied from the original post (which were, in turn, “borrowed” from a different page):

  • Cells (in this case, cubes) with only 1 or less neighbors die, as if by loneliness.
  • If 5 cells surround an empty cell, they breed and fill it.
  • If a cell has 8 or more neighbors, it dies from overcrowding.

Want to use physics? please do! XR? yes sir! A compute-shader that does all the work for us? amazing!

It’s not a competition! Just a community challenge. The winner, as back then, will win great prizes such as a lot of like on their post, praises from the team, and an AI generated image םכ a trophy, with Babylon spelled incorrectly.

Submit entries in the form of playground or repositories to me in a PM until May 31st, so you have plenty of time to come up with your idea. Please - make the code public. It’s a wonderful opportunity for everyone to learn.

Want to see mine from 8 years ago? Here:

https://raananw.github.io/Game-Of-Life/

Fully open sourced here - GitHub - RaananW/Game-Of-Life: 3D Game Of Life for Babylon.js , using Babylon 2.1

If you have any questions, let me know. Otherwise - can’t wait to see your entries!

12 Likes

I’m not sure that’s the case yet

1 Like

oh, the thought is to do GoL on a 3D grid. i think i did 10x10x10, but can be bigger

I’ve done this multiple times in the past, so ill probably exclude myself from this one ;). Good luck everyone else!

1 Like

That’s on me I didn’t look closely enough

2 Likes

awesome! keep on working, send me your final version in PM till may 31st

2 Likes

Bumping this topic, and reminding everyone that I will be waiting for entries by the end of the month :slight_smile:

I follow your call, sir! :slight_smile:

I changed the rules a bit to get a harmonious animation. The cells are slowly dying out. Initially, I arranged the cell values so that they form a sphere in the beginning. As you can see, the cells grow from the inside and die outwards. Somehow paradoxical, an eternal growing.

Game of Life

3 Likes

This is really beautiful!

Cool!