latex-pictures

A collection of TikZ drawings and other images 🖌️

topology-mug-donut.tikz (8968B)

  1 % This picture represents a mug continuously morphing into a donut
  2 % Copyright Pablo (C) 2021
  3 \begin{tikzpicture}[y=0.70pt, x=0.70pt, yscale=-1]
  4   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
  5     (4.0234, 726.0938) 
  6     .. controls (0.8203, 650.0781) and (29.3750, 515.7031) 
  7     .. (35.7812, 430.1172) 
  8     .. controls (42.1484, 344.5312) and (56.4844, 235.4297) 
  9     .. (64.5703, 155.7812) 
 10     .. controls (72.6562, 76.1328) and (179.2188, 13.2812) 
 11     .. (259.8438, 7.8125) 
 12     .. controls (331.7188, 3.6328) and (435.1172, -1.4453) 
 13     .. (485.8594, 17.9297) 
 14     .. controls (512.7344, 28.7500) and (649.2188, 76.9531) 
 15     .. (649.5703, 178.2422) 
 16     .. controls (648.0859, 211.5625) and (647.8906, 214.7266) 
 17     .. (646.6797, 244.6094) 
 18     .. controls (645.5078, 274.4531) and (662.3438, 264.4922) 
 19     .. (678.4766, 265.1172) 
 20     .. controls (694.5703, 265.7422) and (746.0547, 283.5156) 
 21     .. (804.2188, 349.5703) 
 22     .. controls (849.2969, 400.7422) and (869.3359, 451.4453) 
 23     .. (871.3672, 499.6484) 
 24     .. controls (873.3594, 547.8125) and (840.5078, 607.8906) 
 25     .. (787.5391, 648.2812) 
 26     .. controls (734.5703, 688.6328) and (720.8203, 684.4922) 
 27     .. (702.9297, 686.0547) 
 28     .. controls (685.0000, 687.5781) and (688.3594, 702.0312) 
 29     .. (687.6953, 711.2109) 
 30     .. controls (687.0703, 720.3906) and (727.2266, 781.1328) 
 31     .. (435.7031, 793.4375) 
 32     .. controls (144.1797, 805.7422) and (73.0859, 774.2969) 
 33     .. (35.9766, 764.1016) 
 34     .. controls (-1.1328, 753.8672) and (4.0234, 726.0938) 
 35     .. (4.0234, 726.0938) 
 36     -- cycle(4.0234, 726.0938);
 37 
 38   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
 39     (691.5234, 494.2578) 
 40     .. controls (692.7734, 520.0781) and (685.7031, 528.4375) 
 41     .. (677.7734, 529.2578) 
 42     .. controls (669.8828, 530.0781) and (663.9062, 507.7344) 
 43     .. (663.8281, 492.3438) 
 44     .. controls (663.7891, 476.9531) and (665.0391, 457.2656) 
 45     .. (668.9062, 457.8125) 
 46     .. controls (672.7734, 458.3594) and (690.9375, 458.5547) 
 47     .. (691.5234, 494.2578) 
 48     -- cycle(691.5234, 494.2578);
 49 
 50   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
 51     (342.4609, 753.7109) 
 52     .. controls (235.3125, 753.7109) and (105.0391, 748.9844) 
 53     .. (104.6094, 737.0312) 
 54     .. controls (104.1406, 725.0781) and (292.3438, 714.2578) 
 55     .. (359.8438, 714.2578) 
 56     .. controls (427.3047, 714.2578) and (576.6797, 719.8828) 
 57     .. (576.1719, 728.3984) 
 58     .. controls (575.6250, 736.9141) and (429.6484, 753.8281) 
 59     .. (342.4609, 753.7109) 
 60     -- cycle(342.4609, 753.7109);
 61 
 62   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
 63     (646.8750, 240.6250) 
 64     .. controls (645.3125, 292.8125) and (648.4766, 342.6953) 
 65     .. (650.5469, 363.2422);
 66 
 67   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
 68     (37.1875, 711.3672) 
 69     .. controls (149.8438, 677.6172) and (269.6094, 674.6875) 
 70     .. (354.0625, 674.4922) 
 71     .. controls (480.3125, 674.4922) and (552.4219, 681.0547) 
 72     .. (630.8984, 699.1797);
 73 
 74   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
 75     (1127.8125, 559.9219) 
 76     .. controls (1135.1172, 352.5391) and (1211.0156, 148.5547) 
 77     .. (1243.8672, 102.4609) 
 78     .. controls (1276.7188, 56.4062) and (1380.1562, 25.8984) 
 79     .. (1484.2969, 25.9375) 
 80     .. controls (1588.4375, 26.0156) and (1664.7656, 63.2031) 
 81     .. (1704.8828, 104.3359) 
 82     .. controls (1742.3438, 142.8516) and (1725.8984, 189.3750) 
 83     .. (1800.2344, 195.1562) 
 84     .. controls (1846.6406, 198.5938) and (1963.7109, 325.5859) 
 85     .. (1966.7578, 412.3828) 
 86     .. controls (1969.8047, 499.1797) and (1892.4219, 603.8672) 
 87     .. (1842.7734, 634.5703) 
 88     .. controls (1817.9297, 649.9609) and (1814.0625, 666.2109) 
 89     .. (1813.5547, 687.5000) 
 90     .. controls (1813.0859, 708.7500) and (1818.5938, 755.0781) 
 91     .. (1752.9688, 765.1953) 
 92     .. controls (1687.3828, 775.3125) and (1503.5547, 753.6719) 
 93     .. (1404.4141, 741.0156) 
 94     .. controls (1305.2344, 728.3203) and (1151.9141, 736.4844) 
 95     .. (1138.9844, 688.1641) 
 96     .. controls (1123.3984, 630.0781) and (1127.8125, 559.9219) 
 97     .. (1127.8125, 559.9219) 
 98     -- cycle(1127.8125, 559.9219);
 99 
100   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
101     (1248.0469, 645.0391) 
102     .. controls (1248.0469, 645.0391) and (1332.4219, 632.6953) 
103     .. (1461.1328, 647.8125) 
104     .. controls (1589.8438, 662.8906) and (1722.8125, 706.9922) 
105     .. (1722.8125, 706.9922);
106 
107   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
108     (1762.6953, 422.7734) 
109     .. controls (1775.1953, 466.7969) and (1770.5078, 470.3125) 
110     .. (1787.1484, 468.5547) 
111     .. controls (1803.7891, 466.8359) and (1803.8672, 418.4766) 
112     .. (1792.8516, 398.5547) 
113     .. controls (1781.7969, 378.5938) and (1767.7344, 355.7422) 
114     .. (1756.6016, 362.7734) 
115     .. controls (1745.4688, 369.7656) and (1762.6953, 422.7734) 
116     .. (1762.6953, 422.7734) 
117     -- cycle(1762.6953, 422.7734);
118 
119   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
120     (2166.0938, 451.0547) 
121     .. controls (2170.1172, 216.2500) and (2255.3516, 128.7500) 
122     .. (2274.1016, 111.8359) 
123     .. controls (2292.8125, 94.8828) and (2391.0547, 14.4922) 
124     .. (2559.8828, 16.5234) 
125     .. controls (2728.7109, 18.5547) and (2823.6719, 87.9297) 
126     .. (2832.7734, 103.6719) 
127     .. controls (2841.4062, 118.6328) and (2855.9766, 145.8203) 
128     .. (2877.3438, 162.9297) 
129     .. controls (2898.7109, 180.0000) and (3052.8906, 281.4453) 
130     .. (3047.8125, 426.4062) 
131     .. controls (3042.7344, 571.3281) and (2900.5078, 654.8438) 
132     .. (2813.7109, 689.7266) 
133     .. controls (2726.9141, 724.6094) and (2728.5938, 715.2734) 
134     .. (2681.0938, 729.8438) 
135     .. controls (2633.5547, 744.4141) and (2607.6172, 774.2578) 
136     .. (2525.2344, 775.7812) 
137     .. controls (2442.8906, 777.3438) and (2168.6719, 694.5703) 
138     .. (2166.0938, 451.0547) 
139     -- cycle(2166.0938, 451.0547);
140 
141   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
142     (2807.6172, 483.1641) 
143     .. controls (2758.9062, 511.4062) and (2705.2344, 475.5469) 
144     .. (2729.4531, 452.8516) 
145     .. controls (2753.6719, 430.1172) and (2763.5547, 413.9062) 
146     .. (2798.2031, 411.1328) 
147     .. controls (2832.8125, 408.3594) and (2846.7578, 423.9844) 
148     .. (2845.8203, 436.8359) 
149     .. controls (2844.9219, 449.6484) and (2837.4219, 466.9141) 
150     .. (2807.6172, 483.1641) 
151     -- cycle(2807.6172, 483.1641);
152 
153   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
154     (3260.5859, 422.1875) 
155     .. controls (3271.6016, 209.7656) and (3450.8203, 80.1562) 
156     .. (3666.7969, 83.4375) 
157     .. controls (3882.8125, 86.7188) and (4122.6172, 234.7656) 
158     .. (4117.4609, 415.1172) 
159     .. controls (4112.3047, 595.5078) and (3978.3594, 715.3516) 
160     .. (3688.5938, 723.5547) 
161     .. controls (3398.8672, 731.7578) and (3258.2812, 573.6719) 
162     .. (3260.5859, 422.1875) 
163     -- cycle(3260.5859, 422.1875);
164 
165   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
166     (3637.9297, 473.6719) 
167     .. controls (3637.9297, 465.0391) and (3669.5312, 464.4531) 
168     .. (3689.1406, 464.8828) 
169     .. controls (3708.7891, 465.3125) and (3739.4922, 464.7656) 
170     .. (3740.1172, 472.3438) 
171     .. controls (3740.7422, 479.9609) and (3718.2031, 483.1641) 
172     .. (3690.9766, 483.5547) 
173     .. controls (3668.9062, 483.8672) and (3637.1875, 484.8828) 
174     .. (3637.9297, 473.6719) 
175     -- cycle(3637.9297, 473.6719);
176 
177   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
178     (3653.7891, 466.2109) 
179     .. controls (3653.7891, 466.2109) and (3616.2500, 467.3438) 
180     .. (3596.2500, 494.3359);
181 
182   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
183     (3722.7734, 465.8203) 
184     .. controls (3722.7734, 465.8203) and (3770.1562, 465.3516) 
185     .. (3790.6641, 490.5469);
186 
187   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
188     (2727.8516, 454.4922) 
189     .. controls (2727.8516, 454.4922) and (2715.2734, 462.5781) 
190     .. (2713.3594, 496.3672);
191 
192   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
193     (2811.0156, 410.9375) 
194     .. controls (2811.0156, 410.9375) and (2831.2891, 405.3516) 
195     .. (2870.4297, 434.6094);
196 
197   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
198     (1754.0625, 388.4375) 
199     .. controls (1754.0625, 388.4375) and (1744.9219, 352.3438) 
200     .. (1762.7344, 342.8516);
201 
202   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
203     (1772.0312, 458.7500) 
204     .. controls (1772.0312, 458.7500) and (1776.1328, 481.4062) 
205     .. (1791.8359, 489.1406);
206 
207   \draw[cm={{0.1, 0.0, 0.0, -0.1, (0.0, 80.0)}}, line cap=round] 
208     (654.6484, 407.1094) 
209     .. controls (654.6484, 407.1094) and (664.0234, 459.3359) 
210     .. (663.9844, 486.2891) 
211     .. controls (663.9062, 513.2031) and (662.1094, 576.4062) 
212     .. (670.8594, 627.2656);
213 \end{tikzpicture}
214