Skip to content

Instantly share code, notes, and snippets.

@vicapow
Created April 22, 2025 21:00
Show Gist options
  • Save vicapow/833d826cdf0185a50db440420169a04c to your computer and use it in GitHub Desktop.
Save vicapow/833d826cdf0185a50db440420169a04c to your computer and use it in GitHub Desktop.
Crixet Gist
\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