I’m doing some clustering research and need to generate synthetic data that would look something like these examples:

We have 2d plots with 2 classes (red and black). How could I generate 2D data like this? It has a V structure, so I was thinking about generating points around straight lines – is there a way to do that in R?
I’m using R, but am open to other tools (just data has to be exportable).
Here’s a thought.