Created
June 18, 2026 11:57
-
-
Save robert19066/7809b8a7a09cf113ae2a08349dea0fe7 to your computer and use it in GitHub Desktop.
MOTIVATIOTRON
This file contains hidden or 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 os | |
| import random | |
| import time | |
| import colorsys | |
| quotes = [ | |
| "Its almost done, keep working!", | |
| "Don't worry, everything's alr!", | |
| "I see the struggle, it will pay off.", | |
| "May your dreams come true!", | |
| "Do my eyes lie, or thats some darn good code?", | |
| "Marvel of engineering", | |
| ":3", | |
| "hellow :]", | |
| "today is a good day bro.", | |
| "KEEP GOING!", | |
| "let him cook. I said, LET. HIM. COOK!", | |
| "wAkEy WaKey", | |
| "iTs TiMe To WaKe UUUPPP πΉπΉπΉπΉ", | |
| "we gonna be rich twin π€π«°", | |
| "oh.", | |
| "am i a distraction?", | |
| "i don't want to be an distraction...", | |
| "my sole purpose is to make you happy ^_^", | |
| "i was made in python lmao", | |
| "O_O I SEE THE CODE.", | |
| "i can't contain the silliness π", | |
| "*walks away*", | |
| "*eats an thermobaric bomb*", | |
| "Coffee? you don't need it >:(", | |
| "everything's fine FOLK πππ", | |
| "SONN ππ", | |
| "folk π", | |
| "speciment π₯π₯π₯", | |
| "DISTANT RELATIVEEEEEEEEEEE ππππππππ", | |
| "H U M A N", | |
| "why shoudn't you eat uranium? Because the sun was behind the clouds.", | |
| "*eats your code*", | |
| "*takes a nap*", | |
| "π¨wholesome alertπ¨", | |
| ] | |
| EMOJI_BLOCK = [ | |
| "(ΛΆΛ α΅ ΛΛΆ)", | |
| ] | |
| FRAME_DELAY = 0.05 | |
| HUE_SHIFT_PER_FRAME = 0.02 | |
| def clear_screen(): | |
| print("\033[2J\033[H", end="", flush=True) | |
| def rainbow_text(text, start_hue=0.0, hue_step=0.04): | |
| colored = [] | |
| for index, char in enumerate(text): | |
| if char == " ": | |
| colored.append(char) | |
| continue | |
| hue = (start_hue + index * hue_step) % 1.0 | |
| r, g, b = [int(value * 255) for value in colorsys.hsv_to_rgb(hue, 1.0, 1.0)] | |
| colored.append(f"\033[38;2;{r};{g};{b}m{char}\033[0m") | |
| return "".join(colored) | |
| def main(): | |
| start_hue = 0.0 | |
| quote = random.choice(quotes) | |
| next_quote_time = time.time() + random.randint(1, 20) | |
| while True: | |
| now = time.time() | |
| if now >= next_quote_time: | |
| quote = random.choice(quotes) | |
| next_quote_time = now + random.randint(1, 20) | |
| clear_screen() | |
| print("\n".join(EMOJI_BLOCK)) | |
| print() | |
| print(rainbow_text(quote, start_hue=start_hue, hue_step=0.06)) | |
| print() | |
| start_hue = (start_hue + HUE_SHIFT_PER_FRAME) % 1.0 | |
| time.sleep(FRAME_DELAY) | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment