Skip to content
/ grubix Public

WebGL Rubik's Cube - Computer Graphics project - PoliMi - 2020/2021

Notifications You must be signed in to change notification settings

bebora/grubix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grubix - WebGL Rubik's Cube

Demo

➡️ GitHub Pages deploy

Game controls

  • Click and drag on the pieces to move faces/slices
  • Manage the state of the cube from the last section in the sidebar

Graphics controls

  • Manage lights, ambients and advanced effects from the sidebar
  • 🤫 Press C to spawn confetti 🎊

Graphics features

Diffuse

  • Lambert
  • Toon

Specular

  • Phong
  • Blinn

Lights

  • Directional
  • Spotlight
  • Point

Ambient

  • Homogeneous
  • Hemispheric
  • Skybox + Irradiance

Texture

  • Regular texture mapping
  • Normal mapping

Advanced

  • Parallax Occlusion Mapping
  • Cook-Torrance BRDF

Acknowledgements