Skip to content

Instantly share code, notes, and snippets.

View megamaz's full-sized avatar
💻
mid programmer

megamaz

💻
mid programmer
View GitHub Profile
@megamaz
megamaz / ElytraHeightOptimizer.py
Last active January 11, 2025 04:13
Optimizes Height for Elytra Movement in Celeste
from math import sin, cos, pi, sqrt, atan2, acos
from enum import Enum
import time
clipboard = None
try:
clipboard = __import__("clipboard")
except ModuleNotFoundError:
print("Module `clipboard` not found.\nThe clipboard module would automatically copy the output of the script to your clipboard.\nTo install, run `pip install clipboard` in a cmd (this is not a requirement)")