問105 アセチレン

問105 アセチレン

- 野中 孝昌 の投稿
返信数: 0

\begin{tikzpicture}[ declare function = { opc=0.9; CC=1.194; CH=0.922; Cvdw=1.70 cm; Hvdw=1.20 cm; vdw=1/5; lw=3; }] \coordinate (C1) at (CC/2, 0); \coordinate (C2) at (-CC/2, 0); \coordinate (H1) at (CC/2+CH, 0); \coordinate (H2) at (-CC/2-CH, 0); \draw[line width = lw, cyan] (C1) to [bend left] (C2); \draw[line width = lw, cyan] (C1) to [bend right] (C2); \draw[line width = lw, cyan] (C1) -- (C2); \foreach \labelx /\labely in {C1/H1, C2/H2} \draw[line width = lw, Pink1] (\labelx) -- (\labely); \foreach \label in {C1, C2} \shade[ball color = black, opacity=opc] (\label) circle (vdw*Cvdw); \foreach \label in {H1, H2} \shade[ball color = white, opacity=opc] (\label) circle (vdw*Hvdw); \end{tikzpicture}

\begin{tikzpicture}[ declare function = { opc=0.9; CC=1.194; CH=0.922; Cvdw=1.70 cm; Hvdw=1.20 cm; vdw=1/5; lw=3; }] \coordinate (C1) at (CC/2, 0); \coordinate (C2) at (-CC/2, 0); \coordinate (H1) at (CC/2+CH, 0); \coordinate (H2) at (-CC/2-CH, 0); \draw[line width = lw, cyan] (C1) to [bend left] (C2); \draw[line width = lw, cyan] (C1) to [bend right] (C2); \draw[line width = lw, cyan] (C1) -- (C2); \foreach \labelx /\labely in {C1/H1, C2/H2} \draw[line width = lw, Pink1] (\labelx) -- (\labely); \foreach \label in {C1, C2} \shade[ball color = black, opacity=opc] (\label) circle (vdw*Cvdw); \foreach \label in {H1, H2} \shade[ball color = white, opacity=opc] (\label) circle (vdw*Hvdw); \end{tikzpicture}