Skip to content

cyotek/SkylineGenerator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Skyline Generator

Example Screenshot

I wanted a background image, and I'd decided I wanted a 8bit style skyline (similar to QBasic Gorillas. I found a lot of nice images on Bing image search, but none of them were public domain that I could see - and as I'd be distributing the image, I had to be assured there would be no complications.

Inspiration

On Ansdor's Pixel Lounge I found a nice looking skyline and of course had to drop everything to write a skyline generator. It produces a result close enough to what I wanted so will do for now.

Limitations

I only spent a couple of hours on this as it is just a diversion from what I'm supposed to be doing! So it's rough and ready as with most of my experimental programs. No validation checking so expect it to crash if you enter wrong values.

It's not really a true 8bit style as the gradient background isn't dithered but I can't think how to do that.

I also wanted to add different building shapes but again... quick program.

Samples

Example 1

Example 2

Example 3

About

A small program to generate simple city skylines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages