Skip to content

Some crappy code while I try to learn the bare minimum about computer graphics.

Notifications You must be signed in to change notification settings

WillDeJs/graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphics

Some crappy code while I try to learn the bare minimum about computer graphics.

Currently supported:

  • Simple vector/matrix mathematics
  • PNG image imports (in progress).
  • Extraction of PNG Sprites
  • Drawing strings (using PNG sprites)

Example image:

cargo run --example rotatingpng --release

Produces:

Image source here.

cargo run --example snake --release

Produces:

cargo run --example test3d --release

Produces:

Use arrow keys to control X and Y viewpoint coordinates. And WASD keys to control perspective.


Some helpful links for research: Circle Drawing Filled Circle (Javidx9 github)

About

Some crappy code while I try to learn the bare minimum about computer graphics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages