0
0
Figmabi_tool~20 mins

Polygon and star shapes in Figma - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Polygon and Star Shape Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Polygon and Star Shape Properties

In Figma, when you create a polygon or star shape, you can adjust the number of points and the inner radius (for stars). Which property directly controls the number of corners or points on these shapes?

AThe 'Points' property
BThe 'Stroke' property
CThe 'Fill' property
DThe 'Opacity' property
Attempts:
2 left
💡 Hint

Think about how many corners a shape has and which setting changes that number.

visualization
intermediate
1:30remaining
Visualizing the Effect of Inner Radius on Star Shapes

You create a star shape in Figma and adjust the 'Inner Radius' slider. What visual change will you see as you increase the inner radius?

AThe star's inner points move closer to the center, making the star look more like a circle
BThe star's inner points move away from the center, making the star look more spiky
CThe star's outer points become rounded
DThe star's color changes automatically
Attempts:
2 left
💡 Hint

Think about what happens when the inner radius grows larger relative to the outer radius.

data_modeling
advanced
2:00remaining
Modeling Polygon Point Coordinates

You want to calculate the coordinates of each point of a regular polygon with n sides centered at the origin (0,0) with radius r. Which formula correctly calculates the x-coordinate of the k-th point (0-based index)?

Ax = r * cos(2 * π * k / n)
Bx = r * sin(2 * π * k / n)
Cx = r * cos(π * k / n)
Dx = r * sin(π * k / n)
Attempts:
2 left
💡 Hint

Recall that points are evenly spaced around a circle, and cosine gives the horizontal coordinate.

🔧 Formula Fix
advanced
2:00remaining
Fixing Incorrect Star Point Calculation

Given the formula for star points, a developer wrote this code to calculate the y-coordinate of the inner points of a star with n points and inner radius r_in:

y = r_in * cos(π * k / n)

What is wrong with this formula?

AThe radius should be outer radius, not inner radius
BThe angle should be multiplied by 2π, not π
CIt should use sine instead of cosine for y-coordinate
DThe index k should start at 1, not 0
Attempts:
2 left
💡 Hint

Think about the relationship between sine and cosine for coordinates on a circle.

🎯 Scenario
expert
2:30remaining
Designing a Dashboard with Polygon and Star Shape Visuals

You are designing a business intelligence dashboard in Figma that uses polygon and star shapes to represent performance metrics. You want to ensure the shapes are accessible and clear for all users. Which practice should you prioritize?

AUse only star shapes with many points to make the dashboard look complex
BUse low contrast colors to reduce eye strain
CAvoid any text labels to keep the dashboard minimalistic
DUse high contrast colors and provide text labels for each shape
Attempts:
2 left
💡 Hint

Think about accessibility and clarity for all users, including those with visual impairments.