Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAry de Oliveira
28,298 PointsAnimation SVS with CSS / Transform Origin in Firefox.
Animation SVS WITH CSS / Guil Hernandez, in the code on line 13 , we have d="M231.9,10.9c-1.8-0 ... ... I have the following question how this code is generated, how to explain and understand these number, demonstrate or prove anyway? ---------------------------------------------------------------------------------------------------------------<path class="gear-icon" fill="#FFFFFF" d="M231.9,10.9c-1.8-0.6-3.6-0.6-5.1,0.3L216.2,17c-1.5-0.9-3-1.2-4.2-1.8l-3.1-11.5 c-0.6-1.8-1.8-3-3.3-3.9c-1.8-0.6-3.3-0.9-5.1-0.9c-1.8,0-3.3,0.3-5.1,0.9c-0.9,0.3-1.2,0.6-1.8,1.2s-1.2,1.8-1.5,2.7l-3,11.5 c-1.5,0.3-3,1.2-4.2,1.8L174,11.3c-1.5-0.9-3.3-0.9-5.1-0.3c-2.4,0.6-3.9,2.1-4.8,3c-1.5,1.5-2.4,3-3,4.2c-0.6,1.8-0.6,3.6,0.3,5.1 l5.8,10.6c-0.6,1.2-1.5,2.7-1.8,4.2l-11.8,3.4c-0.9,0.3-1.5,0.9-2.1,1.5c-0.6,0.6-1.2,1.2-1.2,1.8c-0.9,1.5-1.2,3-1.2,4.8 c0,2.4,0.3,3.9,1.2,5.4c0.3,1.5,1.8,3,3.3,3.3l11.5,3c0.6,1.8,1.5,3.3,2.1,4.5l-5.6,10.7c-0.9,1.5-0.9,3.3-0.3,5.1s1.8,3,3,4.2 c1.2,1.2,2.7,2.1,4.2,3c1.8,0.6,3.6,0.6,5.1-0.3l10.3-6.1c1.5,0.9,3,1.2,4.2,1.8l3.4,11.8c0.6,1.8,1.8,3,3.3,3.9 c1.8,0.6,3.3,0.9,5.1,0.9c1.8,0,3.6-0.6,5.1-0.9c0.6-0.6,1.5-0.9,2.1-1.5c0.6-0.6,1.2-1.8,1.5-2.7l3-11.5c1.5-0.3,3-1.2,4.2-1.8 l10.6,5.7c1.5,0.9,3.3,0.9,5.1,0.3c1.8-0.6,3.3-2.1,4.2-3c1.5-1.5,2.4-3,3-4.2c0.6-1.8,0.6-3.6-0.3-5.1l-5.8-10.6 c0.6-1.2,1.2-3,1.8-4.2l11.5-3.1c0.9-0.3,1.8-0.6,2.7-1.5c0.6-0.6,1.2-1.2,1.2-1.8c0.6-1.8,0.9-3.3,0.9-5.1c0-1.8-0.3-3.3-0.9-5.1 c-0.6-1.8-2.1-2.7-3.9-3.3l-11.5-3c-0.3-1.5-1.2-3-1.8-4.2l5.7-10.6c0.9-1.5,0.9-3.3,0.3-5.1c-0.6-1.8-1.8-3-3-4.2 C234.6,12.4,233.1,11.5,231.9,10.9z M211.4,38.8c6.1,6,6.1,16.4,0.1,22.4s-16.3,6.1-22.4,0c-6.1-6.1-6.1-16.4-0.1-22.4 S205,32.5,211.4,38.8z"></path>
3 Answers
Nicolas Hampton
44,638 PointsThose numbers are generated more than likely in an vector image editor like illustrator. They're defining points and paths that are drawn to create the image mathematically. For the most part, we never edit them inline, but use a vector image program to create those values, so I wouldn't worry about them. If you want to know more, Illustrator Basics and SVG Basics are classes that go into this with more detail.
Ary de Oliveira
28,298 PointsThank you Nicolas
hector alvarado
15,796 PointsYou can olso draw some paths, there are some curses in threehouse with a library called D3.js helped me a lot to understand how to draw each point on a path.