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

House Building Problem Simulator V1

{{$t('general.by')}}
This program was made to help visualize the house building problem described by James Grime from Numberphile: https://www.youtube.com/watch?v=YMkziQhJkmM The aim is to place houses successively (one house is placed at each row, starting from the top) so that at every row there is one house in each partition. Partitions are made so that the first row has one partition, second row has two, etc. No partition can ever contain more than one house. How many houses can you place successfully? i.e. how many rows can you get to be completely green?
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')}}