These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
Devsite Blog: Adding Bookmarks to the API
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
$ for i in {1..10}; do python -c 'import random; print(random.Random('$i').random())'; done0.134364244112401220.95603427188924940.237964627091891370.236048089737434520.62290169488970190.7933400837616630.323832764833162370.22670585938104880.463007357815021450.5714025946899135
import mathimport randomdef warpin(id, x, y, z, r): j = (random.Random(id).random() - 1.0) / 3.0 t = j - math.asin(x/abs(x) * (z/math.sqrt(x**2 + z**2))) s = 20.0 * (1.0/40.0 * (10 * math.log10(r/10**6) - 39))**20.0 + 1.0/2.0 s = max(0.5, min(s, 10.5)) d = r*(s + 1) + 1000000 return (d * math.sin(t), 1.0/2.0 * r * math.sin(j), d * math.cos(t))