Hacker Challenge: Spiral Grid Animation
Learn to manipulate a 2-D array to create a rotating spiral and a grid that shifts the values k times.
The previous lesson covered the generation of spiral grid patterns. This lesson builds on those concepts to produce a rotating spiral grid animation. So without any further ado, let's dive right in.
Spiral grid animation
The following illustration depicts the first iteration of a rotating spiral grid.
Get hands-on with 1200+ tech skills courses.