I read this question Evenly distributing n points on a sphere and in one of the answers in python was used this:
offset = 2./samples
I was trying to find what does it mean but I didn't succeed. At first, I thought it is something with directories (./ like in Linux command line) but that doesn't make any sense actually.
If this is too basic or duplicate I am sorry, but I didn't find it anywhere.
There's no
./operator, the.is part of the number. That is you have the number2.(which is the same as2.0), followed by the/operator, followed bysamples. With spaces, it'd be2. / samples.And, as you know,
/is the division operator.