Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: Optimus on December 02, 2006

Title: MATHCOMP: Drawland
Post by: Optimus on December 02, 2006
I don't know if the deadline is over or this is the last day, but here is my entry anyway. I finished it in a Pentium2 we have here in the army jff. Couldn't post it yesterday because only today I am out of the camp and heading home.

I rewrote from scratch an algorithm I had done in the past in Quickbasic to draw a random land. It used a simple algorithm I know as randomwalk, where there is equal possibility given for a pixel to move up, down, left, right and draw itself again. But here, the drawing was lake adding a small value to the color in the background, like shadebobs, and up limit 255, and an RGB pallete for 0 to 255 colors, from the sea to the white snow. There are also few parameters there, the random walk starts from a point and may teleport back to the starting point after some runs again (the central point of the island) and for few times. According to runs per return back and how many times this repeats, the islands are smaller or bigger.

Then, I decided to map the land to a sphere, like it's the earth and make with some low pass plasma some fuzzy space backround and put some pixel stars. Normally I wanted to improove this parts for blobs for brighter stars and sun, and more stuff, maybe another plannet with bump for moon or so, but time was not enough and I decided to stop here.

Each time you run the programm, a diferrent land is generated.
Title: Re: MATHCOMP: Drawland
Post by: Jim on December 02, 2006
You're definitely in :D  Great idea for a demo too!
Jim
Title: Re: MATHCOMP: Drawland
Post by: Clyde on December 02, 2006
Nifty stuff Optimus dude :)
Title: Re: MATHCOMP: Drawland
Post by: taj on December 02, 2006
Very nice picture, I wondered if anyone would submit a fractal planet. Good job. Amazing you found time given your circumstances! 
Title: Re: MATHCOMP: Drawland
Post by: mind on December 02, 2006
thats a really neat idea for landscape generation i must say.. and a nice image :)

karma++

i will so steal that algorithm and use it for something cool in the future :)
Title: Re: MATHCOMP: Drawland
Post by: MrP on December 02, 2006
Sweet. Like that, the landscapes look very convincing to... Nice Job
Title: Re: MATHCOMP: Drawland
Post by: rdc on December 02, 2006
That is very cool.
Title: Re: MATHCOMP: Drawland
Post by: Rbz on December 02, 2006
Very cool indeed  8)
Title: Re: MATHCOMP: Drawland
Post by: Paul on December 02, 2006
Thats wonderfull
If you only look at it fast you think its earth.
Title: Re: MATHCOMP: Drawland
Post by: Ghost^BHT on December 02, 2006
Looks nice Optimus....well done  :clap:
Title: Re: MATHCOMP: Drawland
Post by: benny! on December 03, 2006
outstanding !!!
Title: Re: MATHCOMP: Drawland
Post by: Shockwave on December 03, 2006
very, very good indeed! Wow!
Title: Re: MATHCOMP: Drawland
Post by: lilw4t3rdr0p on December 03, 2006
You're definitely in :DÂ  Great idea for a demo too!
Jim


I agree Jim.

Very nice. It reminds me of this great painting I saw one.
Title: Re: MATHCOMP: Drawland
Post by: combatking0 on December 05, 2006
Cool! They should use this in Sci-Fi shows for ideas for new planets. I would.
Title: Re: MATHCOMP: Drawland
Post by: slinks on December 05, 2006
They'd need to add a way of altering the colours, not all land is going to be green and blue, though I could definatly see it being used for something like that
Title: Re: MATHCOMP: Drawland
Post by: combatking0 on December 05, 2006
I'm doing a little sci-fi project myself.

It features eight worlds, and oh now I'm going off topic again.
Title: Re: MATHCOMP: Drawland
Post by: Optimus on December 09, 2006
Thanks. Well yes, I hope I had time to change a lot of things, like the colors or makng diferrent kinds of surfaces (bumpy surface for moon, firey for sun, plasmoid for diferrent kinds of planets, etc.). It could be a nice thing for a strategy game with maps or space simulator like elite. I am having so many ideas but won't probably code any now. And I was wondering if this kind of making a random land has been used before, it just came out of my mind years ago when I experimented with random walkers in quickbasic. I must still have the old source.