Programming

C++ToolsAlgorithmsJavaCultureProjectsLegalityDesignCWebGTK

Samuel's Portrait

Hi! My name is Samuel. This website exists to help us become more open, clear, and curious people, especially for the programmers among us.


Home
Sitemap
References
Schedule
Resume

Links

Koch Snowflake

August 12th, 2010 (updated August 13th, 2010)

This program draws a Koch Snowflake fractal! It's great for understanding how to simply draw lines with OpenGL.

OpenGL Modelview Demo

August 12th, 2010 (updated August 13th, 2010)

This program demonstrates OpenGL's modelview matrix. The user performs view transformations by moving a camera and model transformations by moving a teapot!

Introduction to OpenGL

July 2nd, 2010

OpenGL, the Open Graphics Library, is a library that provides a standard interface to graphics hardware. It avoids platform specifics such as window managers and input methods, while focusing on primitive drawing capabilities.

Analysis of Data Structures and Algorithms

May 16th, 2010 (updated May 17th, 2010)

With special thanks to my instructor, William Kocay, we are hereby making the notes I took for Analysis of Data Structures and Algorithms (COMP 3170) during the 2010 winter term at the University of Manitoba available for all. The only catch is that these notes haven't been reviewed for accuracy, so no one is responsible for their contents. Distribution rights have been granted by my instructor and the department head.

Hacker Kitty Wallpaper

January 23rd, 2010

Check it out! My first SVG desktop wallpaper. Please let me know how I can improve it.

The Classic Animal Game

January 17th, 2010

If you used an Apple ][e while growing up, you may have played the animal game. In this game, the computer asks a series of yes or no questions in an attempt to finally guess the player's animal. If the computer fails to guess the right animal, it asks the player for additional information so that it doesn't fail with the same animal again. The more the game is played, the smarter it gets! So what are you waiting for? Download the file, view the source, and play the game on Windows or Linux. Note this program is meant to be run on the command line.

Drawing a Circle with the Midpoint Algorithm

January 12th, 2010

Have you ever wanted to draw a pixel perfect circle in a highly optimized way? In this article, we'll cover the midpoint algorithm's theory and write C code to do just that!

Elegance Screensaver

January 3rd, 2010 (updated January 4th, 2010)

Elegance is a Windows screensaver. It's so named for the elegant butterfly curve, discovered by Temple H. Fay, which allowed me to draw butterflies through a relatively simple equation. I threw in animation and a particle system for good luck. Please download it and let me know what you think!

Butterfly Screensaver Tutorial

December 21st, 2009 (updated December 24th, 2009)

Have you just completed your first Java based programming course? Are you sick of writing console based text applications? Good news! With this tutorial and its accompanying framework, we can create a Windows screensaver right now.

Bresenham's Classic Line Drawing Algorithm

December 10th, 2009

Suppose we want to draw a line from beginning coordinates (xb, yb) to ending coordinates (xe, ye).

Next

Copyright 2009 by Samuel Pauls. Graphic design by Peter McAlpine.

Permission is granted to share verbatim copies of this site or substantially adapt its contents for other uses.

Anonymous usage statistics are collected. Accuracy is attempted but no warranties are provided.