Hi! Although it's a post from 2015, but maybe you still have this zip archive?) I found your manual with diagrams that would be useful to me. But all links to github do not work, so I would appreciate it if I would drop a working link (if it exists at all, of course)
I use ChatGPT sometimes, but it may be wrong. But it can sometimes give you good thoughts. But mostly I do it the old-fashioned way: Google + documentation + books
Thank you all so much for the clarifications and the code. I was thinking that it is possible to generate just random points and check if the point got inside. But I thought that a lot of points might not get there and I would spend a lot of unnecessary time compiling. Therefore, this decision seemed to me unprofitable. But in general, if the area behind the figure is not so large, then there will be few such points. Thanks again so much
Thank you all so much for the clarifications and the code. I was thinking that it is possible to generate just random points and check if the point got inside. But I thought that a lot of points might not get there and I would spend a lot of unnecessary time compiling. Therefore, this decision seemed to me unprofitable. But in general, if the area behind the figure is not so large, then there will be few such points. Thanks again so much
I need to select some random points inside a closed path. In the documentation, I found a function that just returns a random point inside the path. pair inside(path p, pen fillrule=currentpen); But the problem is that when I want to take several random points, the function always returns the same point. How can I get many different random points?
Yes! It helped, thank you very much! Just need to clarify that you need to change the PATH to the path to TexLive, otherwise it will refer to MiKTeX. I hope this discussion will help someone else)
OK, I'll try it, hope it helps
I did what you said, but it didn't help. I searched all the resources where people wrote about a similar problem, but their solutions did not help me. Apparently, the problem is in MiKTeX. But I already have the latest version with all updates