Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 735 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 735 Bytes

3D Accelerated Pong

http://matnard.github.io/Pong/ Press enter to start use W and S to move the paddle

  • Create a simple drawing API to create squares
  • Render with DOM elements
  • Bring up a simple game logic (PONG)
  • Have different screens (intro, game and game over screen)
  • Use the state pattern to switch among screens
  • Render in a 2D context canvas
  • Render in webGL context canvas by drawing triangles
  • Upload the geometry to GPU and do the tranforms in the shader (scale, rotation, translation)
  • Apply translations in webGL with 3x3 2D matrices
  • Add third dimension to squares in the API to create cubes
  • Render in webGL in 3D with 4x4 matrices
  • Implement a camera