Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Capture Screenshot

Life Simulator

{{$t('general.by')}}
Each grass tile grows at a certain speed (randomly determined at the beginning of the program for each tile) up to full growth. Each animal circle eats the grass tile under it to get energy, consuming the grass in the process. When the grass is over, they migrate. When they have enough energy, they may have children. Every step, animals lose some energy and, when they reach zero, they die. CONTROLS: 1. LEFT-click to add an animal 2. RIGTH-click to set grass tiles to full growth 3. Press ENTER to set a new random grass configuration
We recovered an unsaved version of this sketch. Please review your changes below.

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    {{liveCodeLink}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}