答案1
这包含回答问题的尝试和商业广告。
\documentclass[border=3.14mm]{standalone}
\usepackage{tikzducks}
\begin{document}
\begin{tikzpicture}[fireworks/.style args={#1:#2:#3:#4}{insert path={
(0,0) -- ++ (#1*3.6:#2*1pt) node[circle,draw,fill=blue!#4,inner sep=#3*0.1pt]{}}}]
\draw [fireworks={40:40:60:30},fireworks={10:50:20:90}];
% advertizement
\begin{scope}[xshift=2.5cm]
\duck[body=yellow!80!white,longhair=black,tshirt=magenta!60!white,
jacket=blue,
necklace=white!85!yellow]
\path (0.7,2) rectangle (1.4,2.55);
\fill[yellow!80!orange,rotate=-10,xshift=-11,yshift=5]
\duckpathcrown;
\end{scope}
\end{tikzpicture}
\end{document}
除了颜色有些变化外,这只鸭子只是从恒星tikzducks
包手册第 26 页复制而来。