Snowland

Snowland

You need to be logged in to rate pixel art.

Pixel Art Details

Snowland



user
Title: Snowland
Pixel Artist: Quarry  (Level 1 Rookie :: 135 points)
Posted: 9/22/2012 1:32:35 AM
Palette: 4 colors
Statistics: 7 comments :: 13 favorites :: 0 avatars

 I wrote some code that generated the landscape, trees and the moon. There are 4 colors total and it's resized by 2 with NN. Character was added by me, not the code.

What do you think?

If you would like to comment you will need to be logged in.
Register now. It only takes a moment and it's free!


user
Victor Rojo (Level 8 Regional Boss) at 9/25/2012 2:12:25 AM

this piece have something special...


user
FlyGuy (Level 9 Boss) at 9/24/2012 11:12:38 PM

im really really liking this


user
Elastico-Gadget (Level 5 Rokkyu) at 9/24/2012 10:36:59 AM

Neat and very nice ! My new wallpaper.

http://elasticogadget.files.wordpress.com/2012/09/capt.gif


user
cirpons (Level 3 Enforcer) at 9/22/2012 9:24:31 AM

I figured as much,but was a lazy ass to write the code myself. :D

Good job anyway.


user
Quarry (Level 1 Rookie) at 9/22/2012 8:13:11 AM

Not the code, but the algorithm is very simple. I just randomly get the main trunk height, for every pixel upwards I check if it should branch out. If it should, then it goes to left/right for a specific amount and goes up by the height of the branch. At the end of the trunk and branches a rectangle is drawn, which is proportional to the length of the trunk/branch it's connected to (proportional as in multiplied by a factor and also added with a random value to make it look neater and less repetitive)

That doesn't include the polish (shadow lines) generation, which are simply darker lines on the left of the rectangles and lighter lines on the right of the trunks/branches.

For the terrain, the top snow layer is a basic pattern. The dirt has 2x2 and 5x5 squares placed not totally random (when I did fully randomized generation a lot of them overlayed eachother) but with a kind of complex equation that uses a couple of randomization parameters to have a neat look. The moon is 24x24 and use a an equation very similar to the dirt's, it has the same shadow effect as the rectangles.

And lastly, the snow/stars (whatever you want them to be) is just randomly placed. Little ones have 80% (0-3 in 0-5) and bigger ones have 20% chance of being placed.

I think it's not really that simple...


user
smk (Level 6 Hitman) at 9/22/2012 6:03:28 AM

Make that a double.


user
cirpons (Level 3 Enforcer) at 9/22/2012 5:34:29 AM

Interesting. Mind sharing the code? ;D


Keywords

The following keywords are used to help with the Pixel Joint search tool and to help search engines with appropriate key phrases. Make sure to take some time and add keywords to your pixel art submissions. It actually helps!
snow winter simple ninto, Snowland avatars, Snowland icons, Snowland pixel art, Snowland forum avatars, Snowland AOL Buddy Icons

Related Pixel Art

Report Problem

If you are going to report an issue with this piece please provide relevant URLs/Images to back up your claim.

Register

If you would like to be a team player why not register? It's quick and easy and you'll be able to comment on, rate and upload pixel art.

Already Registered?

User Name:
space
Password:
space
 
space

Register | Retrieve Password

Donate

Want to give some dough back to all those amazing pixel artists? Donations provide prize money for contests.

Donate!

Pixel Art Links