These are some code samples demonstrating some of my work in various languages.
C++ Timer Class
View timer.h
Self-contained timer class that calculates the framerate and frame delta time (allows smooth animation when the framerate is not fixed). Once declared, calling StartFrame() at the beginning of the run-loop maintains the values necessary to use the rest of the functionality. Windows only.
CSS Stylesheet
View style.css
This is all the CSS used on this site (not counting the inline styles used on the résumé). These styles are compressed in the file actually used in the source.
Edge Detection/Rendering Vertex GLSL Shaders
View Edge Utility Vertex Shader
View Thick Edge Vertex Shader
View Start Cap Vertex Shader
View Finish Cap Vertex Shader
These shaders demonstrate some of my work on graphics card-based edge detection and rendering. The basic ideas are based on this paper. In the utility shader, I’ve included a few additional functions that slightly improve on the original technique (a full explanation of the discovered advancements will be in my thesis).
