pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
substrate

substrate - 0.2

Sam Swift (samile)

Tags:

Description

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

Screenshot


click to view original size

Releases

substrate - 0.4 - May 15, 2010
substrate - 0.3 - May 9, 2010
substrate - 0.2 - May 7, 2010
substrate - 0.1 - May 7, 2010

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

April 18, 2012 5:35am - benjamin lee - nickname: (benjamin)
The link is dead.
June 21, 2010 9:49am - Pawel Tokarz - nickname: (outslider) - 4/5
Great! Was it modeled on the cracked earth during the drought?
May 14, 2010 9:52pm - David Khono Hackland - nickname: (khono)
Very cool!
May 9, 2010 12:24am - Xandar Kablandar - nickname: (eternalcheesecake) - 5/5
Very cool.
May 8, 2010 7:58pm - pymike - nickname: (pymike) - 5/5
Awesome, great stuff. I let mine fill out.

http://i43.tinypic.com/2e3sxhw.png
May 7, 2010 9:10pm - Sam Swift - nickname: (samile) - 5/5
@ Chandler. Yes It is very chaotic. If you have any suggestions I would be glad to hear them.
May 7, 2010 2:44pm - josmiley / Luke spywoker - nickname: (mutualaccount) - 5/5
simply beautiful
May 7, 2010 1:11pm - Chandler Armstrong - nickname: (omnirizon) - 5/5
very very cool.
this conjures to mind complexity theory (how simple rules yield complex looking patterns) and demonstrates how simple it can be to make procedurally generated content that looks plausibly real (in this case, a city structure).

this is exactly what pygame needs more of.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


Nov 10, 2014

Nov 9, 2014

Nov 6, 2014


Nov 4, 2014

Nov 3, 2014

Oct 28, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)