Archive > October 2008

Drawing a Sphere

I have spent the morning trying to draw a wireframe sphere, using OpenGL but without the standard glu_ and glut_ extensions. I now have a sphere with a very pleasant spiral pattern on it – just a shame watching it rotate makes my head hurt!

Continue reading

, ,

The LaTeX Listing Package

The LaTeX Listings package is very useful, but the documentation is anything but complete. The manual, for instance, does not indicate how to change the title of the list of listings from “Listings” to “List of Listings” to fit in with the built-in “List of Figures” and “List of Tables.” Searching Google reveals many mailing [...]

Continue reading

, , ,

50 States

The 50 States problem is a simple proposition: given 2 the 50 states of the USA, it is possible to rearrange the letters to form the names of another two states. The solution to this is elementary: North Carolina and South Dakota give South Carolina and North Dakota, but how do you make a computer [...]

Continue reading

, ,