連続体の説明に使えそうな芋みたいな図
連続体力学のテキストによく出てくる連続体の形に似ていたのでメモ 実装
変更点
defaultの値を削除
code:body.tikz(tex)
% Author: Izaak Neutelings (November, 2018)
\begin{document}
% BODY charge distribution
\tikzset{
charged/.style={top color=blue!20,bottom color=blue!40,middle color=blue!30,shading angle=20}
}
\coordinate (B) at (4.1,-0.2);
\coordinate (L) at (0.0, 1.9);
\coordinate (TL) at (1.1, 3.5);
\coordinate (TM) at (3.1, 3.4);
\coordinate (T) at (6.1, 5.5);
\coordinate (R) at (7.8, 3.5);
\coordinate (SL) at (4.5, 3.7);
\coordinate (SR) at (6.7, 3.3);
\draw % "smiley"
\end{tikzpicture}
\end{document}
使っている制御点を可視化したもの
code:body2.tikz(tex)
% Author: Izaak Neutelings (November, 2018)
\begin{document}
% BODY charge distribution
\tikzset{
charged/.style={top color=blue!20,bottom color=blue!40,middle color=blue!30,shading angle=20},
every node/.style={circle,fill=gray}
}
\coordinate (B) at (4.1,-0.2);
\coordinate (L) at (0.0, 1.9);
\coordinate (TL) at (1.1, 3.5);
\coordinate (TM) at (3.1, 3.4);
\coordinate (T) at (6.1, 5.5);
\coordinate (R) at (7.8, 3.5);
\coordinate (SL) at (4.5, 3.7);
\coordinate (SR) at (6.7, 3.3);
\draw % "smiley"
\end{tikzpicture}
\end{document}