飓风符号

飓风符号

意大利的一个电视台提到了超级尿道炎。

你们中有人知道是否有特定的包LaTeX或字体可以用数字重现飓风符号吗?

https://image.shutterstock.com/image-vector/set-hurricane-scale-icons-symbolic-260nw-712052398.jpg

图片取自https://image.shutterstock.com/image-vector/set-hurricane-scale-icons-symbolic-260nw-712052398.jpg

答案1

有一个 CYCLONE 表情符号 (U+1F300),您可以利用它获得预期的结果。不幸的是,它只适用于 XeLaTeX 和 LuaLaTeX,因为它需要合适的表情符号字体(我选择了符号)。

%!TEX program = lualatex
%xelatex does fine, too
\documentclass{standalone}
\usepackage{fontspec}
\usepackage{xcolor}
\newfontfamily\emojii{Symbola}
\usepackage{tikz}
\usetikzlibrary{positioning}
\newcommand{\hurricane}[1]{%
\begin{tikzpicture}%
\foreach\x in {1,...,#1} {%
    \pgfmathsetmacro\myloop{(\x-1)*72}
    \pgfmathsetmacro\mycolor{\x/#1}
    \node[rotate=\myloop,opacity=\mycolor] at (0,0) {{\emojii\Huge{\color{red} 

答案2

彩色版

还有一个彩色版本,\foreach可以而且应该进行调整,但它更接近您想要的:

\documentclass[tikz]{standalone}

\newcommand{\drawSwoosh}[3]{\begin{scope}[rotate=#1]\fill[fill=#2,opacity=#3] (0:1) .. controls (1,-.6) and (1,-1) .. (-100:2.5) .. controls (-85:1.4) and (-90:1.2) .. (-90:1) arc (-90:-360:1);\end{scope}}

\begin{document}
    \begin{tikzpicture}
    \foreach \angle/\opaquness in {0/1, 180/1}
    \drawSwoosh{\angle}{green}{\opaquness}
    \node[fill=white,circle] at (0,0) {1};
    \end{tikzpicture}
    
\begin{tikzpicture}
\foreach \angle/\opaquness in {0/0.5, 180/0.5, 90/1, 270/1}
    \drawSwoosh{\angle}{yellow}{\opaquness}
    \node[fill=white,circle] at (0,0) {2};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle/\opaquness in {0/0.25, 180/0.25, 60/0.5, 240/0.5, 120/1, 300/1}
\drawSwoosh{\angle}{orange}{\opaquness}
\node[fill=white,circle] at (0,0) {3};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle/\opaquness in {0/0.125, 180/0.125, 45/0.25, 225/0.25, 90/0.5, 270/0.5, 135/1, 315/1}
\drawSwoosh{\angle}{red}{\opaquness}
\node[fill=white,circle] at (0,0) {4};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle/\opaquness in {0/0.0625, 180/0.0625, 36/0.125, 216/0.125, 72/0.25, 252/0.25, 108/0.5, 288/0.5, 144/1, 324/1}
\drawSwoosh{\angle}{magenta}{\opaquness}
\node[fill=white,circle] at (0,0) {5};
\end{tikzpicture}
\end{document}

在此处输入图片描述 在此处输入图片描述 在此处输入图片描述 在此处输入图片描述 在此处输入图片描述

原始答案

起点TikZ可以是以下内容:

\documentclass[tikz]{standalone}

\newcommand{\drawSwoosh}[1]{\begin{scope}[rotate=#1]\draw[fill=black] (0:1) .. controls (1,-.6) and (1,-1) .. (-100:2.5) .. controls (-85:1.4) and (-90:1.2) .. (-90:1) arc (-90:-360:1);\end{scope}}

\begin{document}
    \begin{tikzpicture}
    \foreach \angle in {0,180,...,359}
    \drawSwoosh{\angle}
    \node[fill=white,circle] at (0,0) {1};
    \end{tikzpicture}
    
\begin{tikzpicture}
\foreach \angle in {0,90,...,359}
    \drawSwoosh{\angle}
    \node[fill=white,circle] at (0,0) {2};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle in {0,72,...,359}
\drawSwoosh{\angle}
\node[fill=white,circle] at (0,0) {3};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle in {0,45,...,359}
\drawSwoosh{\angle}
\node[fill=white,circle] at (0,0) {4};
\end{tikzpicture}

\begin{tikzpicture}
\foreach \angle in {0,36,...,359}
\drawSwoosh{\angle}
\node[fill=white,circle] at (0,0) {5};
\end{tikzpicture}
\end{document}

结果如下:

在此处输入图片描述 在此处输入图片描述 在此处输入图片描述 在此处输入图片描述 在此处输入图片描述

相关内容