0

I would like to have a nice diagram of a bucket of gold to indicate were we want to go. enter image description here

I have drawn an example. Is there a latex package that has such a diagram? (But then nicer than what I drew)

closed as off-topic by egreg, Stefan Pinnow, Phelype Oleinik, Raaja, siracusa Jun 2 at 19:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – egreg, Stefan Pinnow, Phelype Oleinik, siracusa
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    why do you want to draw it rather than simply include an image? – David Carlisle Jun 2 at 16:09
  • 3
    just google image search for "pot of gold" and pick one that allows re-use – David Carlisle Jun 2 at 16:12
2

With that pot maybe something like this:

enter image description here

\documentclass[demo]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.05]
   \draw[fill=black] (0,0) circle (100cm);
   \draw[fill=black] (0,75) ellipse (100cm and 25cm);
   \draw[fill=black] (0,-100) ellipse (60cm and 10cm);
   \draw[fill=gray] (0,75) ellipse (80cm and 15cm);
\draw[fill=Goldenrod, draw=orange] (70,75) ellipse (7.5cm and 4cm); 

% Gold
\pgfmathsetmacro{\a}{80} 
\pgfmathsetmacro{\b}{15}
\foreach \Angle in {-180,...,180}{
\pgfmathsetmacro{\R}{\a*\b/(sqrt((\a*sin(\Angle))^2+(\b*cos(\Angle))^2))} 
\pgfmathsetmacro{\xRand}{random(0,10)}
\pgfmathsetmacro{\yRand}{random(0,25)}
\draw[fill=Goldenrod, draw=orange, 
shift={(\xRand,75+\yRand)}
]  (\Angle:\R)  ellipse (7.5cm and 4cm);
}
\end{tikzpicture}
\end{document}
  • 1
    Very nice! I can work with this – Jens Wagemaker Jun 2 at 19:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.