Skip to main content

substrate - 0.2

City like images created by automated growth.


Sam Swift
(samile)

substrate



A pygame port of J.Tarbell's processing visualisation, based upon the xscreensaver implementation by M.Kershaw.

Cracks appear and through them sand falls. As the cracks become more numerous a city begins to form. If you continue the disconcerting feeling of moving away will strike you, as the city becomes more dense and continues to evolve.

This implementation allows you to place your own cracks and save snapshots.

Parameters you may modify include:
Screen dimensions
Background colour
Crack colour
Sand colours
Initial number of cracks
Maximum cracks
Invisible cracks
Cracks the colour of the sand
Percentage chance of a crack being curved
Percentage chance of new cracks being connected to old ones
Maximum degrees variation from perpendicular for new cracks
Number of sand grains
Maximum sand range

Smiles

Changes

Smoother sand
Nicer cracks
Directional curved crack placement
Invisible cracks
Sand coloured cracks
Prevent crazy circle growth
Rewrite crack initialisation
Clean up collisions
Changed cracks to use blit
Removed some cruft
Added some comments

Links

Home Page
http://srswift.com
Source
http://srswift.com/code/substrate-0.2.py

Releases

substrate 0.3 — 9 May, 2010

substrate 0.4 — 15 May, 2010

substrate 0.2 — 7 May, 2010

substrate 0.1 — 7 May, 2010

Pygame.org account Comments

  • Steve 2014-01-05 18:01:16

    srswift.com doesn't exist anymore. Please someone upload the py files somewhere