This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
from turtle import Turtle | |
def radToDeg(rad): | |
return rad / math.pi * 180 | |
def degToRad(deg): | |
return deg * math.pi / 180 | |
class Orbiter(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python | |
# Written by me and a friend | |
# on 15 Sept 2018 | |
# | |
# Written to run on Linux. For windows, change the system('clear') to the windows version (idk) | |
# Works way better in python2 than python3. I think that's something to do with the decimal library, which is weird. | |
# Requires matplotlib | |
# | |
from decimal import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env/ python3 | |
# although this should probably work on python2 too | |
# | |
# This draws a Maurer Rose, using simple Turtle graphics. | |
# (see https://en.wikipedia.org/wiki/Maurer_rose) | |
# It's cuz they look pretty. | |
# | |
# This is public domain. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// aborter.ks | |
// | |
// A passive script to run an abort sequence under bad circumstances. | |
// | |
// This works well as a boot script (put it under | |
// Kerbal Space Program/Ships/Script/boot/ and set the boot script in the vehicle | |
// editor) | |
// | |
// Vehicle configuration: |
OlderNewer