Skip to content

A rotating colorful cube in Crystal + OpenGL using GLFW for windowing

Notifications You must be signed in to change notification settings

doughsay/crystal-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crystal OpenGL Rotating Cube

A rotating colorful cube in Crystal.

Dependencies

  1. A working Crystal instalation (brew install crystal-lang)
  2. GLFW3 (brew install glfw3)

How To Run

# install dependencies
shards

# run
crystal src/main.cr

# or build
crystal build src/main.cr -o cube
./cube

esc in the window, or ctrl-c in the terminal to quit.

Screenshot

screenshot

About

A rotating colorful cube in Crystal + OpenGL using GLFW for windowing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published