background preloader

Main Page - Procedural Content Generation Wiki

Main Page - Procedural Content Generation Wiki

Terrain generation, Part 1 Hacking for Artists Features - A Real-Time Procedural Universe, Part One: Generating Planetary Bodies There have been quite a few articles, web sites, and books published in the past few years that talk about generating game worlds procedurally. As game worlds have become larger and more complex, it has become less practical for game designers to generate every detail by hand. Mathematical procedures of all sorts have been around for quite a while to generate different types of texture maps, terrain, and 3D objects. If you want an excellent example of procedural modeling and texturing in action, take a look at Terragen. If you've been interested in procedural texturing and modeling for even half the amount of time I have, you've probably read many of the same articles and web sites I've read. This article is the first part in a series that will explain how to procedurally generate an entire universe and render it real-time at any level of detail in a game engine. Planetary Bodies: Static vs. The fault line (or plane) algorithm is an example of what I call a "static" algorithm.

Hacking Secret Ciphers with Python - Chapters Chapter 1 Read online: Chapter 1 - Making Paper Cryptography Tools PDF of the Caesar Cipher WheelInteractive Virtual Cipher Wheel Chapter 2 Read online: Chapter 2 - Downloading and Installing Python Download Python 3Download pyperclip.py Chapter 3 Read online: Chapter 3 - The Interactive Shell Chapter 4 Read online: Chapter 4 - String and Writing Programs Download source: hello.py Copy source to clipboard: Use the online diff tool to find typos in your code: hello.py Chapter 5 Read online: Chapter 5 - The Reverse Cipher Download source: reverseCipher.py Use the online diff tool to find typos in your code: reverseCipher.py Chapter 6 Read online: Chapter 6 - The Caesar Cipher Download source: caesarCipher.py Use the online diff tool to find typos in your code: caesarCipher.py Download source: caesarCipher2.py Use the online diff tool to find typos in your code: caesarCipher2.py Download source: password.py Use the online diff tool to find typos in your code: password.py Download source: password2.py Chapter 7

Noel Berry Over the last several months I have been researching and experimenting with different types of procedurally generated maps. I was working on a top down, zelda-like game that used procedural generation to create the dungeons throughout which the player would explore, encountering monsters and hidden treasures. Development never got to far on this game, but it was a great learning experience and I got my maps to a state I was really happy with. Over the last week, I’ve been doing more procedural generation for a game that my brother, Liam, and I are creating. It’s going to be a rather simplistic and casual game when done, but one of the most exciting things about it is that every level is completely generated from scratch, creating rich, varying, environments every time you play. Before I explain anything, make sure you’ve actually seen how the generation looks in-game. THE MINER Once the map is created, I then create a “miner”. TINY ISLANDS These cells were a group of 4 cells.

PyBrain World Generation Breakdown A large part of Dance of Death v0.6.136 was the addition of world generation. Although the world is little more than a large island at the moment, the results are rather satisfying, even considering that the current method of generating terrain is purely based on elevation. After experimenting with a number of techniques, I settled on this simple formula: 1) Generate Fractal Perlin Noise, 2) Multiply noise by a radial gradient, and 3) Apply terrain and water line. Here is the breakdown: You can click on any of the images to view an interactive demo, and click again on the demo to generate a new map. Step 1: Generate Perlin Noise Generate a Fractal Grayscale Perlin Noise with an x-frequency of half the width, a y-frequency of half the height, and 8 octaves. Grayscale Fractal Perlin Noise, normalized for contrast. If we apply the terrain to the tiles at this point, we’ll end up with something like this (jump ahead for the terrain application method): Terrain applied to noise. Final result.

Dive Into Python

Related: