3D Tetris Shapes

tetris-shapes

In this blog post we will use Glowscript to create a 3D animation representing the various shapes used in a game of Tetris.

Our aim is to recreate each shape by joining several cubes together. We will then create a compound object to join these cubes together in a single object. Finally using an infinite while loop we will animate/rotate the shape around itself.

Here is our 3D animation: (Use Google Chrome to preview this animation)


Right Click on the animation to change the view point (rotate camera angle).

Find out more…


To learn more about all the instructions you can use in GlowScript/VPython, use this on-line documentation.

Your task:


Create and animate all the different Tetris shapes.

Did you like this challenge?

Click on a star to rate it!

Average rating 4 / 5. Vote count: 5

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: , , , ,