• Register

Drovoid is a game about designing spaceships by assembling modules, programming them, and sending your ships to colonize space through mining and space battles. Spaceships can be manually controlled, or fully automated, or both. Drovoid can be played in solo or in multiplayer thanks to the included server. Automated battle ships can be uploaded to the Arena to compete!

Report RSS LED modules

This update introduces an RGB LED module. Combine them to add full RGB displays to your ships.

Posted by on

This update is introducing a fun feature: full RGB LEDs for ships. Each LED module is a single LED which can display an RGB color with varying intensity. This can be useful for your ship to report its status.

However, to demonstrate the feature, I could not help but coding a little Mandlebrot fractal! Fractals are at the very heart of producedural generation (see for instance "Computer Rendering of Stochastic Models" by Fournier et al. 1982 (!) and many, many other research works).

Here is the final result:

madlebrot

As you can see, multiple ships combine their displays to produce a larger image of the Mandlebrot fractal.

Here is the code running on each Program module:

madlebrot code

Quite simple isn't it? This is inspired from the code at the top of Ken Perlin's web page.

I hope we'll see many interesting and cool use of the LED feature! (Right now this feature is only available to registered players through the automated update).

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: