-
Notifications
You must be signed in to change notification settings - Fork 0
azizmb/Game-of-Life-Wallpaper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Python script to generate evolving wallpapers for Ubuntu that mutate based on the rules of Conways Game of Life. Comments and suggestions welcome. REQUIREMENTS: python PIL numpy scipy Instructions: - Load the initial cell pattern in test.lif or in any other file (change the path in the config appropriately). - The file must be a LIF 1.06 file. - Change the resolution in config.py to the resolution of your screen, change the paths to appropriate paths on your computer and change any other settings you may want to. - Run gol.py - Set the generated xml as your wallpaper. This is still a very rough implementation, needs lots of cleanup and tuning. My first time doing anything in image processing/numpy so some things may be very inefficient. The implementation of the Game of Life Simulation was taken mostly take from Dhananjay Nene's talk at inpycon2010 http://in.pycon.org/2010/talks/66-functional-programming-with-python The function to calculate Eucledian Distance Transform was taken from here: http://www.logarithmic.net/pfh/blog/01185880752 TO-DO: - [DONE] Write a parser for .lif files so loading of initial cell configuration becomes easier. - Figure out how to amplify the colour variations - Optimise the simulation
About
An evolving wallpaper for ubuntu, using the rules of Conways game of life. Sample on the wiki page.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published