Share your repls and programming experiences

← Back to all posts
Haha Rockets go BRRRRRR
h
DynamicSquid (2611)

So SpaceX's rocket launch is today!

SpaceX is probs one of my favourite companies, so I'm kinda excited.

It'll be the first manned mission in America in 9 years, and the first manned mission SpaceX has ever done, so hope it goes well!

And in honour of that, I made my first ASCII animation, and this is also my first Python project!

Full screen is recommended.

Enjoy :)

Commentshotnewtop
DannyIsCoding (519)

Why is there a squid in the rocket's smoke?

DannyIsCoding (519)

@Warhawk947 Sadly, I can't watch the whole thing, because the launch live stream is very late for me :(

DynamicSquid (2611)

@DannyIsCoding lol, also, awww... :( but you can always watch it later though

DannyIsCoding (519)

@DynamicSquid Yes, that's true. I love the title btw. XD

DynamicSquid (2611)

@DannyIsCoding thanks! yesterday I actually got first place in a Kahoot with that name

Warhawk947 (520)

@DannyIsCoding rip :(
Launch is at 3:22, you don't have to watch the entire thing!

DannyIsCoding (519)

@Warhawk947 Sadly yes:( I'll watch some of it and the replay tomorrow.

DannyIsCoding (519)

@DynamicSquid Yes it did.
I got to see it :D

DynamicSquid (2611)

@Warhawk947 when the booster landed it was so cool!

no booster
screen cut off
booster

it was like magic!

FidgetDaHacker2 (6)

@DynamicSquid you might need to go very far back bc the live stream is still going it says it started dec 2018 so like more than 1 whole year

ZDev1 (319)

cool, but what is spaceX?

DynamicSquid (2611)

@ZDev1 you don't know SpaceX??? it's basically a private space company owned by Elon Musk, they're the first to launch, then land the same rocket. Here's an intro to him

ZDev1 (319)

@DynamicSquid sorry i don't know it :(

DynamicSquid (2611)

@ZDev1 no, it's fine - think of it as Nasa, but better

ZDev1 (319)

@DynamicSquid wait ik this guy but idk his name lol

ZDev1 (319)

@DynamicSquid after one hour if this chat
dad was opening this livestream XD

DynamicSquid (2611)

@awesome10 well, not this mission, but I was referring to SpaceX plan for the future

awesome10 (212)

@DynamicSquid i know just a joke also great animation dude

awesome10 (212)

@jeremykyleisgod its just a bunch of print(" [some symbol] ")

FidgetDaHacker2 (6)

oof me i watched the livestream for like 7hrs on wednesday when it was supposed to launch and so my mom didn't let me watch it on saturday

syflexer (467)

That's super cool and i am right now watching the dragon capsule connect to the international space station

DynamicSquid (2611)

@syflexer oh yeah, I saw part of that live stream, it was kinda cool!

syflexer (467)

@DynamicSquid ya there about to open the final hatch

CodeLongAndPros (952)
  1. lamba. Good job!

  2. The Falcon 9 has no SRB's on the first stage.

Other than that design error:

───────────────────████
───────────────────█████
───────────────────██████
───────────────────███████
──────────────────████████
──────────────────████████
─────────────────█████████
────────────────█████████
───────────────█████████
──────────────█████████
──────────────██████████████████
────────────█████████████████████
───────────███████████████████████
████████─██████████████████████████
████████─███████████████████████████
████████─████████████████████████████
████████─████████████████████████████
████████─████████████████████████████
████████─████████████████████████████
████████─███████████████████████████
████████─██████████████████████████
████████─█████████████████████████
████████─████████████████████████
████████─███████████████████████

DynamicSquid (2611)

@CodeLongAndPros oh yeah, I know that, but when I realized I made the falcon heavy, it was a little late to change it. but thanks!

CodeLongAndPros (952)

@DynamicSquid Run this in the repl shell:
cal | sed 's/0/o/g' | sed 's/1/l/g'

CodeLongAndPros (952)

@DynamicSquid What's the error? cal and coreutils are installed.

CodeLongAndPros (952)

@DynamicSquid Press Ctrl-Shift-s and try again.

CodeLongAndPros (952)

@DynamicSquid I updated it to use e for 3.
You can actually do any replacement:
sed /s/old/new/(put a g here if you want to 'replace all')

Cookiezz (65)

2 Minutes!!! =DDDDD

EDIT: IT LAUNCHED YAYAYAYYAYAYAYAYYAYAY =DDDDDDDDDDDdd

DynamicSquid (2611)

@Cookiezz YAYAYAYAYAY 🎉🎉🎉🎉🎉

ZDev1 (319)

And how it launchs in this day
remember CORONA VIRUS?!

DynamicSquid (2611)

@ZDev1

1) The ISS needs to rotate their astronauts
2) There's no Corona virus in space
3) The astronauts self quarantined for 2 weeks

So don't worry! Everything's fine here :)

ZDev1 (319)

@DynamicSquid

ther is no corona virus in space

Ik! XD
I love space but idk this guy
Thx for the intro!

firefish (305)

@HahaYes this starts with haha, do you consent to it being used?

awesome10 (212)

huh. who knew that that they put squids in smoke

ZDev1 (319)

I named myself in Kahoot today:
Zuhdi Go Brrrrr
And i got 2nd place!
(with Arabic lesson lol XD)

DynamicSquid (2611)

@AnthonyValdes Really? It works for me. Press the green arrow and wait for a few seconds

AnthonyValdes (5)

@DynamicSquid
Now it worked. It was probably ChromeOS glitching.

StudentFires (340)

I'm honestly ashamed...

rocket = [
  open("rocket/a11.txt", 'r'),
  open("rocket/a12.txt", 'r'),
  open("rocket/a13.txt", 'r'),
  open("rocket/a14.txt", 'r'),
  open("rocket/a15.txt", 'r'),
  open("rocket/a16.txt", 'r'),
  open("rocket/a17.txt", 'r'),
  open("rocket/a18.txt", 'r'),
  open("rocket/a19.txt", 'r'),
  open("rocket/a21.txt", 'r'),
  open("rocket/a22.txt", 'r'),
  open("rocket/a23.txt", 'r'),
  open("rocket/a24.txt", 'r'),
  open("rocket/a25.txt", 'r'),
  open("rocket/a26.txt", 'r'),
  open("rocket/a27.txt", 'r'),
  open("rocket/a28.txt", 'r'),
  open("rocket/a29.txt", 'r'),
  open("rocket/a31.txt", 'r'),
  open("rocket/a32.txt", 'r'),
  open("rocket/a33.txt", 'r'),
  open("rocket/a34.txt", 'r'),
  open("rocket/a35.txt", 'r'),
  open("rocket/a36.txt", 'r'),
  open("rocket/a37.txt", 'r'),
  open("rocket/a38.txt", 'r'),
  open("rocket/a39.txt", 'r'),
  open("rocket/a41.txt", 'r'),
  open("rocket/a42.txt", 'r'),
  open("rocket/a43.txt", 'r'),
  open("rocket/a44.txt", 'r'),
  open("rocket/a45.txt", 'r')
]

Not hating, but that's not too high quality code.

Also, since you're barely starting Python I wouldn't expect much out, but just something for future reference: Using pythons curses module.

awesome10 (212)

@StudentFires why? its a simple way to open like 5 million files so that you can print them easily. i do that in code too

DynamicSquid (2611)

@StudentFires yeah I agree, that's not the best, but I don't know any other way. And was thinking about curses, but I'm still trying to figure out that tutorial. This is my first python project after all

StudentFires (340)

@awesome10 You shouldn't be opening 40 files, if the data is all in one.

StudentFires (340)

@DynamicSquid Honestly I hate it, but I just realized that this could've even been colored.

oignons (250)

I like the new pfp @DynamicSquid! Is is for Pride?

oignons (250)

@DynamicSquid Nice! I'm trying to make a good one atm :)

DynamicSquid (2611)

@ipastrano cool! the one you have right now isn't that bad

oignons (250)

@DynamicSquid I'm trying to overlay a hurricane

AtriDey (99)

The only two other times I was that excited was ZUMA (first live launch) and Falcon Heavy.

dabs364 (120)

can i use the code for another project?
@DynamicSquid

DynamicSquid (2611)

@dabs364 uh... no. well, like copy and past my code? no. but use some parts of it? sure but make sure to mention me :)

dabs364 (120)

@DynamicSquid Im copying and pasting but making a different rocket animation.

DynamicSquid (2611)

@dabs364 sure I guess, but credit me though :)

dabs364 (120)

@dabs364 why is there 2 messages?

matthewproskils (289)

Space X trending : only a couple million people
Repl.it trending: a whopping 40 upvote

Bookie0 (3217)

Wow super cool! I like the squid you put. May I use your spinning thingy for my project, I’ll be sure to mention you?
Thanks! : )