Exploring randomized pattern generation utilizing Processing and React. Try for yourself below. Plus/Minus buttons generate a new pattern with increased respectively decreased complexity, while the arrow button rotates the triangles. Furthermore, if you are interested in Processing and use Framer X, you might find this package interesting.
Here are some generated designs I liked: