Gravit is an original 2D platform game, mixing reflection and puzzle. It brings the player to confront the end of the world, while adapting him/herself to the gradual changes of Earth's gravity, all this in a dynamic platform game.

Post news Report RSS Gravit : Fractals

Integrating this technology into the game can be innovative. We did some tests that allow us to generate complex trees in the least time possible.

Posted by on

For those who do not know the definition of a fractal, it is a method of iterative generation that enables through simple rules to achieve phenomenal results: Fractal Art.

Integrating this technology into the game can be innovative. We did some tests that allow us to generate complex trees in the least time possible.

fractal_01

To generate the previous image, here is what we have created in the editor:

base_fractal_01

To work, our game fractals use the kinship that objects can have. For example: A branch has for a son 1 leaf ball and two sub-branches. The fractal mode is then adding for each sub-branch the sons in the same way as for the parent. So the sub-branch will have 1 leaf ball and two other sub-branches. The red lines represent the pattern that is endlessly repeated from parent to son :

fractal_01_struct

Here is another example of fractal generation from the following basis :

base_fractal_02fractal_02

Post comment Comments
Mushroomman
Mushroomman

Gotta love fractals

Reply Good karma Bad karma+2 votes
Post a comment

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