Given an integer \$n \geq 2\$, print a triangle of height \$n\$ of (triangles of height \$n\$ of asterisks), as in this SO question.
For \$n=2\$, print:
*
***
* * *
*********
For \$n=3\$, print:
*
***
*****
* * *
*** *** ***
***************
* * * * *
*** *** *** *** ***
*************************
For \$n=4\$, print:
*
***
*****
*******
* * *
*** *** ***
***** ***** *****
*********************
* * * * *
*** *** *** *** ***
***** ***** ***** ***** *****
***********************************
* * * * * * *
*** *** *** *** *** *** ***
***** ***** ***** ***** ***** ***** *****
*************************************************
And so on. Some rules:
- I write "print", but a function returning a string or list of lines is fine too.
- Trailing whitespace on each line is allowed, but not leading whitespace.
- Trailing blank lines are allowed.
- This is code-golf: write the shortest program you can, measured in bytes.
*
to for example#
? \$\endgroup\$