ScratchData LogoScratchData
Back to khanhphucscratch's profile

Rotating cube

KHkhanhphucscratch•Created July 16, 2024
Rotating cube
0
0
14 views
View on Scratch

Instructions

So... Yes, as you might know, I'm currently into competitive programming (CP-ers in Vietnam might know my name as well, under the username khanhphucscratch or khanhphucmath =))) After 2 and a half years, my skills have improved a lot. My mathematics skill isn't an exception. One day I returned to Scratch Community and stumbled upon a project that I tried to do when I was in grade 5, but never succeeded. That project is to animate a 3D cube in space. 3 years ago, I failed because the formula to calculate the coordinates of points in space when taking 3D rotation into account was really complex, and my trigonometry skills at that time weren't enough to handle that. But after 3 years, I decided to give it another try. And this is my result after 30 minutes.

Description

WASD and left right arrows to rotate You could create other shapes by changing the PointX, PointY, PointZ, StartingPoint, and Endpoint lists.

Project Details

Project ID1047494595
CreatedJuly 16, 2024
Last ModifiedNovember 2, 2024
SharedJuly 16, 2024
Visibilityvisible
CommentsAllowed