在網路上見到有人分享,用方程式或函式堆疊出「路人手拉線放風箏的小動畫」,覺得可愛,自己也嘗試看看,以下是結合Desmos繪圖計算機
首先,在Desmos輸入以下方程式
- $\left(x-1\right)^{2}+\left(y-5\right)^{2}=1$
- $x=1\left\{1.5\le y\le4\right\}$
- $y=1.5x\left\{0\le x\le1\right\}$
- $y=1.5x+2.5\left\{0\le x\le1\right\}$
- $y=-1.5x+3\left\{1\le x\le2\right\}$
- $y=-1.5x+5.5\left\{1\le x\le2\right\}$
- $\left|1.5x-a\right|+\left|y-25\right|\le2$
- $\left|1.5x-a\right|+\left|y-25\right|=2$
- $1.5x-a+0.001=0.4\sin\left(y+a\right)\left\{15\le y\le23\right\}$
- $1.5x=a\left\{23\le y\le27\right\}$
- $y=25\left\{a-2\le1.5x\le a+2\right\}$
- $\frac{\left(1.5x-2\right)^{2}}{4+1.3a-20}+\frac{\left(y-25.1\right)^{2}}{16}=32\left\{2\le x\le23\right\}\left\{2\le y\le23\right\}$
- $\left(x-2\right)^{2}+\left(y-2.5\right)^{2}\le0.05$
- $\left(x-4\right)^{2}+\left(y-30\right)^{2}\le4$
- $\left(x-4\right)^{2}+\left(y-30\right)^{2}=4$
- $x=4\left\{26.5\le y\le28\right\}$
- $x=4\left\{32\le y\le33.5\right\}$
- $y=30\left\{0.5\le x\le2\right\}$
- $y=30\left\{6\le x\le7.5\right\}$
- $y=x+26\left\{1.3\le x\le2.6\right\}$
- $y=-x+34\left\{1.3\le x\le2.6\right\}$
- $y=x+26\left\{5.4\le x\le6.7\right\}$
- $y=-x+34\left\{5.4\le x\le6.7\right\}$
- $\frac{\left(x-1.1a+12\right)^{2}}{12}+\frac{\left(y-28-0.5b\right)^{2}}{4}\le0.2$
- $\frac{\left(x-1.1a+15\right)^{2}}{12}+\frac{\left(y-28-0.5b\right)^{2}}{4}\le0.4$
- $\frac{\left(x-0.8a+19\right)^{2}}{12}+\frac{\left(y-32-b\right)^{2}}{4}\le0.2$
- $\frac{\left(x-0.8a+22\right)^{2}}{12}+\frac{\left(y-32-b\right)^{2}}{4}\le0.4$
- $20<=a<=25$, 間距0.01
- $0<b<3$, 間距0.2
END
沒有留言:
張貼留言