0
0
Figmabi_tool~10 mins

Polygon and star shapes in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data represents parameters for creating polygon and star shapes in Figma: number of sides, inner radius percentage for stars, and shape type.

CellValue
A1Number of Sides
A25
B1Star Inner Radius (%)
B250
C1Shape Type
C2Star
Formula Trace
IF(C2 = "Star", POLYGON_SIDES = A2 * 2, POLYGON_SIDES = A2)
Step 1: C2 = "Star"
Step 2: POLYGON_SIDES = A2 * 2
Step 3: Inner Radius = B2%
Cell Reference Map
    A       B       C
1 | Number | Star   | Shape
  | of     | Inner  | Type 
  | Sides  | Radius |      
2 |   5    |  50    | Star 

References:
- A2 for number of sides
- B2 for star inner radius
- C2 for shape type
Cells A2, B2, and C2 provide the input values for the formula to determine polygon sides and star inner radius.
Result
    A       B       C       D
1 | Number | Star   | Shape | Polygon
  | of     | Inner  | Type  | Sides 
  | Sides  | Radius |       |       
2 |   5    |  50    | Star  |  10   

D2 shows the calculated polygon sides for the star shape.
The final result shows that for a star with 5 points, the polygon sides count is 10, which is double the number of points.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the number of polygon sides for a star with 5 points?
A10
B5
C7
D15
Key Result
For star shapes, polygon sides = number of points * 2; for polygons, polygon sides = number of sides.