crystal-cube

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

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

Repository

crystal-cube

Owner
Statistic
  • 8
  • 0
  • 0
  • 0
  • 2
  • almost 7 years ago
  • July 6, 2017
License

Links
Synced at

Tue, 07 May 2024 01:42:46 GMT

Languages