23 lines
58 KiB
Markdown
23 lines
58 KiB
Markdown
![]() |
---
|
||
|
title: Robot
|
||
|
---
|
||
|
|
||
|
The `Robot` component renders the FreeSewing robot.
|
||
|
It takes a `pose` prop that should be one of the following:
|
||
|
|
||
|
- fail,
|
||
|
- ohno,
|
||
|
- shrug,
|
||
|
- shrug2,
|
||
|
- yay
|
||
|
|
||
|
Rendering a different pose for each.
|
||
|
|
||
|
<Fixme> Add more documentation for this component </Fixme>
|
||
|
|
||
|
## Example
|
||
|
|
||
|
<svg class="" xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 500 500"><path stroke="none" fill="currentColor" d="m 159.48843,60.874613 c -0.30352,-0.002 -0.48225,0.0525 -0.61592,0.163448 -0.5795,0.480937 -0.17967,0.920146 2.48781,2.735562 5.73849,3.905466 11.25954,10.761049 12.72466,15.800879 0.20279,0.69761 0.42697,1.46235 0.49894,1.69983 0.072,0.23748 -0.10948,-0.004 -0.40259,-0.53507 -0.76251,-1.38282 -3.13081,-4.22261 -4.36314,-5.23198 -2.12605,-1.74138 -4.33873,-2.61517 -8.1998,-3.23965 -1.90418,-0.30798 -2.41888,-0.30549 -4.49906,0.0292 -1.29185,0.20788 -3.00525,0.59648 -3.80742,0.86368 -3.18563,1.0612 -6.89632,3.55605 -10.09576,6.78557 -2.477,2.50029 -2.47285,3.40782 0.0137,2.81471 0.62343,-0.14871 2.33017,-0.27684 3.79194,-0.28389 3.86781,-0.0181 6.17924,0.86976 9.71038,3.72656 2.75944,2.23246 6.70289,7.96661 8.45444,12.29454 2.10794,5.208608 3.08813,12.309388 1.91832,13.889428 -0.22008,0.29726 -2.02598,0.47707 -9.57274,0.95486 -5.11618,0.32391 -11.04234,0.65599 -13.16854,0.73809 -5.75914,0.22239 -19.58726,1.29218 -21.85696,1.69123 -2.49994,0.43953 -3.95978,1.38923 -4.8397,3.14847 -0.57548,1.15055 -0.59844,1.37026 -0.54023,5.06854 0.0335,2.12621 0.16876,11.74775 0.30108,21.38211 0.13233,9.63437 0.35397,22.138 0.49206,27.78572 0.26338,10.77214 0.11612,18.92343 -0.34925,19.3055 -0.39421,0.32365 -4.64784,1.76806 -8.22734,2.79405 -3.51963,1.00885 -4.03578,0.9948 -5.45564,-0.14623 -1.61126,-1.29483 -9.045437,-9.83716 -11.009345,-12.65068 -5.590327,-8.00877 -15.643259,-20.50865 -24.965867,-31.04088 -15.66131,-17.69339 -23.516938,-25.42744 -26.724196,-26.313 -0.602852,-0.16646 -1.475604,-0.12297 -3.076217,0.15312 -2.742953,0.47313 -2.210998,0.47561 -9.361124,-0.0654 -3.255752,-0.24633 -6.225037,-0.44317 -6.599757,-0.437 -0.54784,0.009 -1.423395,0.74029 -4.469803,3.73343 -2.083707,2.04729 -6.915266,6.78636 -10.7357876,10.53278 C 3.1250513,142.76856 0,146.01565 0,146.23782 c 0,0.55235 4.0956757,9.71992 4.5420643,10.16632 0.197098,0.19712 0.5870615,0.30207 0.8671213,0.23398 0.2799012,-0.0681 3.867933,-0.67521 7.9726994,-1.34886 l 7.463436,-1.22497 0.992716,-0.88605 c 0.546307,-0.48761 4.038501,-3.73361 7.75936,-7.21397 12.464207,-11.65858 11.838357,-10.979 11.380966,-12.37197 -0.328032,-0.99901 0.401743,-0.5824 2.553191,1.45725 3.608915,3.42138 11.709481,12.47013 18.613859,20.79199 7.848608,9.45994 17.90462,22.24232 20.845321,26.49709 1.699149,2.45843 4.829049,6.80684 6.955895,9.66393 7.363018,9.89108 10.529281,13.19438 13.232211,13.80168 1.52732,0.34317 4.81297,-0.33827 10.01663,-2.07662 2.52486,-0.84346 4.68576,-1.44234 4.80185,-1.33165 0.11609,0.11069 0.34824,5.2199 0.51614,11.35345 l 0.30625,11.15213 0.88088,1.78242 c 0.89599,1.81291 2.02674,2.9819 3.71968,3.84183 1.37271,0.69727 4.47137,0.85254 21.91029,1.09938 9.30215,0.13167 21.47839,0.34936 27.05968,0.48518 5.58129,0.13583 15.3474,0.31321 21.70212,0.39399 l 11.55474,0.14796 0.24603,0.63486 c 0.3505,0.90597 -0.0173,1.77066 -0.84648,1.99231 -0.37778,0.101 -2.00779,0.07 -3.62333,-0.0688 -1.61553,-0.13883 -6.54918,-0.26821 -10.96289,-0.28732 -7.41164,-0.0321 -8.05757,-0.002 -8.45615,0.39743 -0.36407,0.36432 -0.4281,0.83749 -0.40775,3.02116 0.029,3.10485 0.4179,5.31095 1.04605,5.93909 0.59441,0.59443 2.56778,0.75759 13.66748,1.12692 4.65107,0.15475 8.52533,0.32371 8.60928,0.37506 0.25822,0.15796 0.42846,2.616 1.17852,17.13425 0.3982,7.70749 0.78692,14.42263 0.8654,14.92344 0.13415,0.8557 0.0636,0.98829 -1.17165,2.20393 -1.55917,1.53446 -2.39591,3.12916 -2.38974,4.5541 0.007,1.69974 0.89856,4.09753 2.0921,5.63457 1.07804,1.38829 1.28138,1.88918 0.87229,2.142 -0.1171,0.0724 -5.96056,1.49833 -12.98618,3.1674 -7.02561,1.66907 -17.99369,4.2743 -24.3723,5.78941 -6.37861,1.51513 -16.21545,3.85113 -21.8604,5.19241 -5.64495,1.34124 -11.02777,2.53901 -11.96077,2.66157 -6.51659,0.85612 -7.88751,1.06023 -9.81704,1.45553 -3.24272,0.66437 -4.16271,1.19108 -4.9739,2.84911 -0.51025,1.0429 -0.66248,1.68928 -0.63658,2.70116 0.0188,0.7316 0.36997,20.73669 0.77938,44.45717 0.4094,23.72047 0.81087,44.4873 0.89293,46.1484 0.0821,1.66109 0.0271,4.51634 -0.12215,6.34
|
||
|
|
||
|
|