|
| 1 | +const shapes = [ |
| 2 | + { |
| 3 | + name: "Circle", |
| 4 | + type: "circle", |
| 5 | + formula: "circle(50% at 50% 50%)", |
| 6 | + vertices: 0, |
| 7 | + edges: 0, |
| 8 | + notes: "A circle is a round shaped figure that has no corners or edges. In geometry, a circle can be defined as a closed, two-dimensional curved shape.", |
| 9 | + }, |
| 10 | + { |
| 11 | + name: "Square", |
| 12 | + type: "polygon", |
| 13 | + formula: "polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)", |
| 14 | + vertices: 4, |
| 15 | + edges: 4, |
| 16 | + notes: "A square is closed, two-dimensional shape with 4 equal sides. A square is a quadrilateral.", |
| 17 | + }, |
| 18 | + { |
| 19 | + name: "Rectangle", |
| 20 | + type: "polygon", |
| 21 | + formula: "polygon(10% 25%, 90% 25%, 90% 75%, 10% 75%)", |
| 22 | + vertices: 4, |
| 23 | + edges: 4, |
| 24 | + notes: "A Rectangle is a four sided-polygon, having all the internal angles equal to 90 degrees. The two sides at each corner or vertex, meet at right angles. The opposite sides of the rectangle are equal in length which makes it different from a square.", |
| 25 | + }, |
| 26 | + { |
| 27 | + name: "Rhombus", |
| 28 | + type: "polygon", |
| 29 | + formula: "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)", |
| 30 | + vertices: 4, |
| 31 | + edges: 4, |
| 32 | + notes: "A rhombus is a quadrilateral whose four sides all have the same length. A square and a rhombus both have sides equal in length. But square has all its angles equal to 90 degrees, but a rhombus only has its opposite angles equal.", |
| 33 | + }, |
| 34 | + { |
| 35 | + name: "Ellipse", |
| 36 | + type: "ellipse", |
| 37 | + formula: "ellipse(25% 40% at 50% 50%);", |
| 38 | + vertices: 0, |
| 39 | + edges: 0, |
| 40 | + notes: "An ellipse is a shape that looks like an oval or a flattened circle.", |
| 41 | + }, |
| 42 | + { |
| 43 | + name: "Triangle", |
| 44 | + type: "polygon", |
| 45 | + formula: "polygon(50% 0%, 0% 100%, 100% 100%)", |
| 46 | + vertices: 3, |
| 47 | + edges: 3, |
| 48 | + notes: " a triangle is a three-sided polygon that consists of three edges and three vertices. The most important property of a triangle is that the sum of the internal angles of a triangle is equal to 180 degrees.", |
| 49 | + }, |
| 50 | + { |
| 51 | + name: "Parallelogram", |
| 52 | + type: "polygon", |
| 53 | + formula: "polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%)", |
| 54 | + vertices: 4, |
| 55 | + edges: 4, |
| 56 | + notes: "A parallelogram is a quadrilateral that has its opposite sides parallel and equal to each other. It has its interior opposite angles equal. Also, the angles on the same side of transversal sum up to 180 degrees or supplementary to each other.", |
| 57 | + }, |
| 58 | + { |
| 59 | + name: "Trapezoid", |
| 60 | + type: "polygon", |
| 61 | + formula: "polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%)", |
| 62 | + vertices: 4, |
| 63 | + edges: 4, |
| 64 | + notes: "A trapezoid(also called, trapezium) is a quadrilateral with at least one pair of parallel sides. No other features matter. The parallel sides may be vertical , horizontal , or slanting .", |
| 65 | + }, |
| 66 | + { |
| 67 | + name: "Pentagon", |
| 68 | + type: "polygon", |
| 69 | + formula: "polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)", |
| 70 | + vertices: 5, |
| 71 | + edges: 5, |
| 72 | + notes: "A pentagon is a geometrical shape, which has five sides and five angles. Here, “Penta” denotes five and “gon” denotes angle. An equilateral pentagon is a polygon with five sides of equal length.", |
| 73 | + }, |
| 74 | + { |
| 75 | + name: "Hexagon", |
| 76 | + type: "polygon", |
| 77 | + formula: |
| 78 | + "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)", |
| 79 | + vertices: 6, |
| 80 | + edges: 6, |
| 81 | + notes: "A hexagon can be defined as a polygon with six sides. The two-dimensional shape has 6 sides, 6 vertices and 6 angles.", |
| 82 | + }, |
| 83 | + { |
| 84 | + name: "Heptagon", |
| 85 | + type: "polygon", |
| 86 | + formula: |
| 87 | + "polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)", |
| 88 | + vertices: 7, |
| 89 | + edges: 7, |
| 90 | + notes: "Heptagon is a polygon ( a closed shape made up of line segments) made up of 7 sides and 7 angles. The word heptagon is made up of two words, hepta meaning seven and gon meaning sides.", |
| 91 | + }, |
| 92 | + { |
| 93 | + name: "Octagon", |
| 94 | + type: "polygon", |
| 95 | + formula: |
| 96 | + "polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)", |
| 97 | + vertices: 8, |
| 98 | + edges: 8, |
| 99 | + notes: "An octagon is a polygon made up of 8 sides. It has eight angles. Octagon = Octa + gon where octa means eight and gon means sides. ", |
| 100 | + }, |
| 101 | + { |
| 102 | + name: "Nonagon", |
| 103 | + type: "polygon", |
| 104 | + formula: |
| 105 | + "polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%)", |
| 106 | + vertices: 9, |
| 107 | + edges: 9, |
| 108 | + notes: "A nonagon or enneagon is a nine-sided polygon or 9-gon.", |
| 109 | + }, |
| 110 | + { |
| 111 | + name: "Decagon", |
| 112 | + type: "polygon", |
| 113 | + formula: |
| 114 | + "polygon(50% 0%, 80% 10%, 100% 35%, 100% 70%, 80% 90%, 50% 100%, 20% 90%, 0% 70%, 0% 35%, 20% 10%)", |
| 115 | + vertices: 10, |
| 116 | + edges: 10, |
| 117 | + notes: "A decagon is a ten-sided polygon or 10-gon. The total sum of the interior angles of a simple decagon is 1440°. A self-intersecting regular decagon is known as a decagram.", |
| 118 | + }, |
| 119 | + { |
| 120 | + name: "Cross", |
| 121 | + type: "polygon", |
| 122 | + formula: |
| 123 | + "polygon(30% 0%, 70% 0%, 70% 30%, 100% 30%, 100% 60%, 70% 60%, 70% 100%, 30% 100%, 30% 60%, 0% 60%, 0% 30%, 30% 30%)", |
| 124 | + vertices: 12, |
| 125 | + edges: 12, |
| 126 | + notes: "A cross is a geometrical figure consisting of two intersecting lines or bars, usually perpendicular to each other. The lines usually run vertically and horizontally.", |
| 127 | + }, |
| 128 | + { |
| 129 | + name: "Star", |
| 130 | + type: "polygon", |
| 131 | + formula: "polygon(10% 100%,50% 0%,90% 100%,0% 40%,100% 40%)", |
| 132 | + vertices: 5, |
| 133 | + edges: 5, |
| 134 | + notes: "A regular star pentagon, has five corner vertices and intersecting edges.", |
| 135 | + }, |
| 136 | + { |
| 137 | + name: "Tag", |
| 138 | + type: "polygon", |
| 139 | + formula: "polygon(68% 0%,0% 0%,0% 100%,68% 100%,100% 50%)", |
| 140 | + vertices: 5, |
| 141 | + edges: 5, |
| 142 | + notes: "A custom structure that usually represents a Tag.", |
| 143 | + }, |
| 144 | +]; |
| 145 | + |
| 146 | +export { shapes }; |
0 commit comments