Skip to content

Using assembly language and opengl, this program will animate a rotating wheel divided into three sections.

Notifications You must be signed in to change notification settings

BJones47/Wheels-Animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wheels-Animation

Using assembly language and opengl, this program will animate a rotating wheel divided into three sections.

A makefile is added to compile the files using make wheels will compile.
Usage: <executable> -sp <septNumber> -cl <septNumber> -sz <septNumber>

The program will error-check the command line and convert the septenary number into an integer. The first section will be the speed of the animation, the second section will be the color, and the third will be the size of the window that opens for the animation.

Note the following max and min values for septenary
SPEED MIN = 1
SPEED MAX = 50, 101(7) = 50
COLOR MIN = 0
COLOR MAX = 0xFFFFFF, 0xFFFFFF = 262414110(7)
SIZE MIN = 100, 202(7) = 100
SIZE MAX = 2000, 5555(7) = 2000

Example Usage: ./wheels -sp 021 -cl 164623 -sz 1000
Where the speed is converted to 15, the color would be 0x008080 which would be teal, and the size is 343

About

Using assembly language and opengl, this program will animate a rotating wheel divided into three sections.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published