Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/g/a/GameDev-HEAD/terragen.py   GameDev(Download)
from __future__ import division
from random import random
from Perlin import PerlinGrid
 
class Biomes:
	def InitGrid(self, width, height):
 
		#perlinSpaceL = PerlinGrid(width, height, width/53, height/53)
		#perlinSpace = PerlinGrid(width, height, width/13, height/13)
		perlinSpaceH = PerlinGrid(width, height, width/7, height/7)
 
		perlinSpaceRain = PerlinGrid(width, height, width/21, height/15)