PS I just wrote the code while composing my post. So it is yet untested. Am Do., 20. Aug. 2020 um 11:15 Uhr schrieb Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de>: > > Am Do., 20. Aug. 2020 um 10:55 Uhr schrieb Arvydas Silanskas > <xxxxxx@gmail.com>: > > > > > I can write the implementation for the final version. > > Let me know if you want to implement it (otherwise I'll do it by adapting the make-random-complex-generator implementation you've sent previously) > > You can use this, of course. (One note: In that implementation, I > forgot to add the origin Z. So "(+ z (make-polar r phi))" instead of > "(make-polar r phi)". > > With John's generalization to sectors, the start and end angle will, > of course, replace the fixed bounds 0.0 and fl-2pi in the generator > for phi. > > Marc