Author Topic: MATHCOMP: Drawland  (Read 10453 times)

0 Members and 1 Guest are viewing this topic.

Offline Optimus

  • DBF Aficionado
  • ******
  • Posts: 2456
  • Karma: 128
    • View Profile
    • Optimouse Demo Site
MATHCOMP: Drawland
« 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.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: MATHCOMP: Drawland
« Reply #1 on: December 02, 2006 »
You're definitely in :D  Great idea for a demo too!
Jim
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: MATHCOMP: Drawland
« Reply #2 on: December 02, 2006 »
Nifty stuff Optimus dude :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: MATHCOMP: Drawland
« Reply #3 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! 
Challenge Trophies Won:

Offline mind

  • Texture-San
  • DBF Aficionado
  • ******
  • Posts: 2324
  • Karma: 85
    • View Profile
    • boredom is a beatiful thing.
Re: MATHCOMP: Drawland
« Reply #4 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 :)
Challenge Trophies Won:

Offline MrP

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 18
    • View Profile
Re: MATHCOMP: Drawland
« Reply #5 on: December 02, 2006 »
Sweet. Like that, the landscapes look very convincing to... Nice Job

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: MATHCOMP: Drawland
« Reply #6 on: December 02, 2006 »
That is very cool.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2748
  • Karma: 492
    • View Profile
    • http://www.rbraz.com/
Re: MATHCOMP: Drawland
« Reply #7 on: December 02, 2006 »
Very cool indeed  8)
Challenge Trophies Won:

Offline Paul

  • Pentium
  • *****
  • Posts: 1490
  • Karma: 47
    • View Profile
Re: MATHCOMP: Drawland
« Reply #8 on: December 02, 2006 »
Thats wonderfull
If you only look at it fast you think its earth.
I will bite you - http://s5.bitefight.se/c.php?uid=31059
Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: MATHCOMP: Drawland
« Reply #9 on: December 02, 2006 »
Looks nice Optimus....well done  :clap:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: MATHCOMP: Drawland
« Reply #10 on: December 03, 2006 »
outstanding !!!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17393
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: MATHCOMP: Drawland
« Reply #11 on: December 03, 2006 »
very, very good indeed! Wow!
Shockwave ^ Codigos
Challenge Trophies Won:

lilw4t3rdr0p

  • Guest
Re: MATHCOMP: Drawland
« Reply #12 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.

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: MATHCOMP: Drawland
« Reply #13 on: December 05, 2006 »
Cool! They should use this in Sci-Fi shows for ideas for new planets. I would.
You are our 9001st visitor.
Challenge Trophies Won:

Offline slinks

  • A little bit strange
  • DBF Aficionado
  • ******
  • Posts: 3957
  • Karma: 43
    • View Profile
Re: MATHCOMP: Drawland
« Reply #14 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
I love semi-colons way too much ^^;
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: MATHCOMP: Drawland
« Reply #15 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.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Optimus

  • DBF Aficionado
  • ******
  • Posts: 2456
  • Karma: 128
    • View Profile
    • Optimouse Demo Site
Re: MATHCOMP: Drawland
« Reply #16 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.
Challenge Trophies Won: