Created
September 30, 2023 15:01
-
-
Save KernelA/7217b36495d2c5da05093eca69d57eff to your computer and use it in GitHub Desktop.
fig1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[tikz]{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{math} | |
\begin{document} | |
\begin{tikzpicture} | |
\tikzmath { \total = 6; } | |
\draw [help lines] (0,0) grid (\total, \total); | |
\foreach \row in {1,2,...,\total} | |
\foreach \x in {1,...,\row} { | |
\filldraw (\x,\row) circle [radius=0.25]; | |
} | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment