Skip to content

Instantly share code, notes, and snippets.

Diego Restrepo restrepo

Block or report user

Report or block restrepo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@restrepo
restrepo / gist:1895375
Created Feb 23, 2012 — forked from llimllib/gist:1120117
From arXiv:1107.5216
View gist:1895375
#!/usr/bin/env python
#From arXiv:1107.5216
from __future__ import division
from visual import *
craft = sphere(pos = vector(10e7,0,0), color = color.white, radius = 1e6)
Earth = sphere(pos = vector(0,0,0), color = color.blue, radius = 6.3e6)
trail = curve(color = craft.color)
G = 6.67e-11
You can’t perform that action at this time.