Random points inside an ofPath

Any tips for generating points inside a closed ofPath? I want to make something similar to this: https://www.google.com/search?q=wires+sparse&client=safari&rls=en&tbm=isch&source=iu&ictx=1&fir=0mKZm4yAIUHnOM%2C404oM5adrZDxcM%2C_&vet=1&usg=AI4_-kQUpPBKfwb3cFB0w1PVpfZ5Hf0Auw&sa=X&ved=2ahUKEwjxltz9wPfsAhWkJzQIHauQC54Q9QF6BAgKEEc#imgrc=0mKZm4yAIUHnOM

Hi,
I think ofPolyline::inside() is helpful here.
Or you can maybe use some of the techniques discussed in this topic (with the texture/fbo)?