免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 发帖

[无聊]画个蛋蛋

  1. \begin{tikzpicture}
  2.   \def\eggheight{3cm}
  3.   \path[preaction={fill=orange!50!white},
  4.   ball color=orange!60!gray,fill opacity=.5]
  5.   plot[domain=-pi:pi,samples=100]
  6.   ({.78*\eggheight *cos(\x/4 r)*sin(\x r)},{-\eggheight*(cos(\x r))})
  7.   -- cycle;
  8. \end{tikzpicture}
复制代码
选自:https://tex.stackexchange.com/qu ... w-an-egg-using-tikz
分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
$\href{https://kuingggg.github.io/}{\text{About Me}}$

好蛋

TOP

你们直观感受下

TOP

回复 3# isee

我贴过来的代码是这个

感觉这个颜色好点

TOP

返回列表 回复 发帖