It took me about two hours to install Linux. I then spent 8 hours fiddling with xorg.conf and rebooting over and over again before I realized that I could just turn off overscan on my monitor. After that, I'm pretty sure Linux is actually more "user-friendly" than either Windows or Mac. It certainly seems to have a lot more fancy graphical stuff going on. And it seems you can download and install just about anything by typing "sudo apt-get install [program name]." I mean anything. "sudo apt-get install pi" downloads and installs a program to calculate pi.
Anyway, in celebration of my new operating system, and because doing it on a calculator was really tedious, I decided to write a good old-fashioned command line program. It's called gearGen and it prints out x and y coordinates for drawing gears. Those coordinates can then be converted to images using paint or the GIMP. This ought to help a lot with making sprites for a certain game. It turns out that just opening up paint and drawing a 32x32 gear from scratch is not at all easy.


gearGen code: (C=C+1)
No comments:
Post a Comment