LoginSignup
1
0

More than 3 years have passed since last update.

【014_アルキメデス】コマ大数学科

Posted at

【014_アルキメデス】コマ大数学科

image.png

  \begin{tikzpicture}
    \coordinate (A) at (0,3) node at (A)[left]{A};
    \coordinate (B) at (4.2,3.9) node at (B)[right]{B};
    \coordinate (C) at (3,0) node at (C)[below]{C};
\filldraw [orange!20!white](A)--(B)--(C)--cycle;
    % 塗り 
    \fill [color=cyan!10!white](1,1)--(1.4,1.3)--(2,1.3)--(2,1)--(1,1)--cycle;
    \fill [color=cyan!20!white](1,1)--(1.4,1.3)--(1.4,2)--(1,2)--(1,1)--cycle;
    \fill [color=cyan!40!white](1.4,3.3)--(1.8,3.3)--(1.8,3.6)--(1.4,3.3)--cycle;
    \fill [color=cyan!20!white](1.8,3.6)--(2.8,3.6)--(2.4,3.3)--(1.8,3.3)--cycle;
    \fill [color=cyan!30!white](1.4,1.3)--(1.4,1.6)--(1.8,1.6)--cycle;
    \fill [color=cyan!50!white](1.4,1.3)--(1.8,1.6)--(1.8,1.3)--cycle;
    \fill [color=cyan!70!white](1.8,1.3)rectangle(2,1.6);
    \fill [color=cyan!60!white](1.4,1.6)rectangle(1.8,2);
    \fill [color=cyan!90!white](1.8,1.6)rectangle(2,2);
    \fill [color=cyan!40!white](3.4,1.3)--(3.8,1.6)--(3.4,1.6)--cycle;
    \fill [color=cyan!20!white](3.4,2.3)--(3.8,2.6)--(3.8,1.6)--(3.4,1.6)--cycle;
% 大きい四角形
     \draw [very thick](0,0) rectangle (3,3);
% 小さい四角形
     \draw [very thick](1,1) rectangle (2,2);
% 奥行きのある四角形
     \draw [very thick](0,3) -- (1.2,3.9)--(4.2,3.9)--(4.2,0.9)--(3,0);
     \draw [very thick](3,3) --(4.2,3.9);
    %  真ん中の線
     \draw [thick](1,1) --(1.4,1.3)--(1.4,2);
     \draw [thick](1.4,1.3)--(2,1.3);
      \draw (1.4,1.3)--(2,1.75);
      \draw (1.8,2)--(1.8,1.3);
      \draw (1.4,1.6)--(2,1.6);
     %  上の小さい四角
     \draw [very thick](1.4,3.3) -- (2.4,3.3)--(2.8,3.6)--(1.8,3.6)--(1.4,3.3)--cycle;
     \draw [thick](1.8,3.6) --(1.8,3.3);
%  右の小さい四角
     \draw [very thick](3.4,1.3) -- (3.8,1.6)--(3.8,2.6)--(3.4,2.3)--(3.4,1.3)--cycle;
     \draw [thick](3.8,1.6) --(3.4,1.6);
% 縦の点線         
\draw [dotted](1.4,3.3)--(1.4,0.3);
\draw [dotted](2.4,3.3)--(2.4,0.3);
\draw [dotted](2.8,3.6)--(2.8,0.6);
\draw [dotted](1.8,3.6)--(1.8,0.6);
%  下の小さい四角
\draw [dashed](1.4,0.3) -- (2.4,0.3)--(2.8,0.6)--(1.8,0.6)--(1.4,0.3)--cycle;
% 横の点線         
\draw [dotted](0.4,1.3)--(3.4,1.3);
\draw [dotted](0.8,1.6)--(3.8,1.6);
\draw [dotted](0.8,2.6)--(3.8,2.6);
\draw [dotted](0.4,2.3)--(3.4,2.3);
%  左の小さい四角
\draw [dashed](0.4,1.3) -- (0.8,1.6)--(0.8,2.6)--(0.4,2.3)--(0.4,1.3)--cycle;
% 奥の小さい四角形
\draw [dashed](2.2,1.9) rectangle (3.2,2.9);
% 斜めの点線         
\draw [dotted](1,1)--(2.2,1.9);
\draw [dotted](2,1)--(3.2,1.9);
\draw [dotted](2,2)--(3.2,2.9);
\draw [dotted](1,2)--(2.2,2.9);
% 透明の点線
\draw [dashed](0,0)--(1.2,0.9);
\draw [dashed](1.2,3.9)--(1.2,2);
\draw [dashed](1.2,0.9)--(4.2,0.9);

\end{tikzpicture}
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0