Saturday, November 20, 2010

Fractal Terrain Generation Using The Diamond-Square Algorithm

Continuing on with my experimentation with the fractal mountain range and Mandelbrot set I have set my eyes on generating a 3d fractal landscape with ambitions of moving onto a fractal planet.

 I have been tinkering with the Pyglet python library. Pyglet is a wrapper for the OpenGL (Open Graphics Library).

Shown below is my attempts at visualizing the result of a terrain generated from the diamod-square algorithm

First attempt. Has some obvious algorithm errors.

 Second attempt with a revised algorithm.



You can download the python code here.

Thursday, November 18, 2010

Generating A Fractal Mountain Range

I stumbled across this page about generating random fractal terrain. I went ahead and made a simple wxpython app to put the ideas I learned into practice. Below is the result and source code.


Wednesday, November 17, 2010

Gold Rush Turret Taking Shape

Work continues again on Gold Rush's mechanical aspects after a long period of working on electronics and software. My focus has been on creating a robust turret with pan and tilt capability that mounts the Trendnet IP camera and dual Matyo Toy tank guns.


The goal over the next few weeks is to continue to mount all of the required Mech Warfare gear. Once all everything is mounted I can shift focus over towards tuning the walking gaits can remote control.

Saturday, November 13, 2010

Using Python To Draw The Mandelbrot Set

I recently watched a documentary on the discovery of the Mandelbrot Set on youtube and it sparked my curiosity. I went ahead and made a little python app that draws the famous Mandelbrot set in a wxpython window. You can see the result of my work and the source code below. It is by no means useful or elegant code but it was a fun exercise!


Tuesday, November 9, 2010