Created
April 22, 2025 21:00
-
-
Save vicapow/833d826cdf0185a50db440420169a04c to your computer and use it in GitHub Desktop.
Crixet Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{tikz-3dplot} | |
\usetikzlibrary{3d, calc} | |
\begin{document} | |
\begin{tikzpicture}[scale=1] | |
\coordinate (A) at (0,0,0); | |
\shade[ball color=black!10] (A) circle (1); | |
\begin{scope}[shift={(0.7,0.7)}, rotate=45, shift={(-1,-0.25)}, transform shape] | |
\draw[ | |
top color=gray | |
] (0.2,0) | |
.. controls (0,0.09) and (0,0.5) .. (0.25,0.5) -- (4.0,0.5) -- (4,0) -- cycle; | |
\end{scope} | |
\coordinate (B) at (3,3,1); | |
\begin{scope}[scale=2.5, transform shape] | |
\node at (-0.1, -0.12, 0) {\textbf{B}}; | |
\end{scope} | |
\shade[ball color=black!40] (B) circle (1); | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment