[心得][转文] 新年到了﹐用 TikZ 画个烟花给大家

楼主: ChenMeng0518 (LSiYue)   2014-01-02 10:02:29
原文转自 LaTeX studio:
http://www.latexstudio.net/happy-new-year/
烟花效果详见地址﹕
http://www.latexstudio.net/wp-content/uploads/2013/01/fireworks.gif
代码﹕
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing,decorations.shapes}
\begin{document}
\foreach \radius in {1,2,...,20}
{
\begin{tikzpicture}
% background rectangle
\filldraw[black] (-3,-3) rectangle (5,3);
% skyline
\filldraw[black!80!blue](-3,-3)
作者: hyperino   2014-01-02 16:29:00
(膜拜

Links booklink

Contact Us: admin [ a t ] ucptt.com