Share your repls and programming experiences

← Back to all posts
Arrows! animation!
Bookie0 (3914)

Hey all,

This is a small little python animation I did. Very simple, did it in under 5 min.
Comments, tips, etc, please comment down below.
And remember, upvoting is caring! 😊 😃 🙏

Commentshotnewtop
ChezCoder (1498)

This is oddly satisfying

Bookie0 (3914)

Thank you, very satisfying indeed [email protected]

[deleted]

Cool!

JiahaoCao (10)

you should make it random. it would be a lot cooler

Bookie0 (3914)

What do you mean make it random? Like what [email protected]

JiahaoCao (10)

@Bookie0 use random.randint and make the arrows appear randomly

Bookie0 (3914)

I still don’t understand, because I’m doing this in a while true loop, and I’m using the function slowPrint(). Like also how do you say where they [email protected]

JiahaoCao (10)

@Bookie0 you keep generating random numbers in the loop using random.randint, and if it is a certain number, it will print the up arrow, and if it generates another number, it will print the down arrow.

tyolmedo (2)

@JiahaoCao what he is saying is maybe have the left and right arrow appear randomly, kinda uneven if you will
ex)
left
right
right
left
right

Bookie0 (3914)

Yeah, thanks for explaining! ;) @tyolmedo

taban1b (4)

so cool, i wana code like you.

Bookie0 (3914)

Thank you so much! There are some wonderful tutorials out there in repl.it and also on the internet, like code.org or www3 [email protected]

taban1b (4)

okay nice, we can be friends yeah?
this is my whatsapp. +2348155430160 @Bookie0

Bookie0 (3914)

Hi sorry I don’t have WhatsApp but I have discord do you have [email protected]

[deleted]

Good job!

[deleted]

And also, congrats getting 300 [email protected]

AmIGoodAtChess (6)

do you import slowprint?

Bookie0 (3914)

No I define it:

def slowPrint(text):
for x in text:
print(x, end='')
sys.stdout.flush()
sleep(0.0005)

slowPrint(“Text in here write your text here”)

@AmIGoodAtChess

Bookie0 (3914)

For the indents look at my code
@AmIGoodAtChess

Bookie0 (3914)

Wow it’s not authorized :( @IndyCarter

Wilke000 (485)

Hm @Bookie0? It only takes the profile pic and the username

Bookie0 (3914)

Yeah I did on a new tab, but an error message is displayed
@IndyCarter

Bookie0 (3914)

Still an error :(@IndyCarter

Bookie0 (3914)

@IndyCarter also I just got more than 300 cycles, so I’m gonna soon publish a repl

Bookie0 (3914)

No on iPad that’s probably [email protected]

Bookie0 (3914)

I might try it later on my mom computer thsnkd for sharing [email protected]
And my 300 cycle special might come out today! Would you like me to notify you when it comes out?

Wilke000 (485)

Yay @Bookie0! Just post my name in comments once it comes out @Bookie0

MrEconomical (2225)

@Bookie0 is a repl.it error with repl.it auth go bug admins

Bookie0 (3914)

Whaht? I don’t understand what do you mean I’m a “repl.it error with repl.it auth and why do i go but admins?” @MrEconomical

MrEconomical (2225)

@Bookie0 its a repl auth problem not my problem

Bookie0 (3914)

Oh okay i understand! Thanks for the [email protected]

Martysh12 (5)

thats amazing! good job!

PXY (46)

This is a wonderful little program! However, text terminals are rarely a good spot for stop-motion animation. With what you had, though, it was amazing!

Bookie0 (3914)

Oh wow thank you so much! Really thanks for that comment it made my day! Smile 😊 @PXY

HerculukeZeEpic (190)

I was wondering how to do python animations, this helped me out a ton! Also, this is very cool!

GaneshaSharma (31)

you don't need underscores in the title

Bookie0 (3914)

Yeah I know, I just like them because they look cool![email protected]

Ganesha1 (33)

@GaneshaSharma yes he do it is for the funny

ovecjoe (1)

Wow!!! I have never made one before. What is the functions of those modules

Bookie0 (3914)

Its slowPrint(“your text here”)@ovecjoe but you have to define the slowPrint first
Thanks for commenting and upvoting!

lolOOF (6)

make me feels like im playing a game

jeremykyleisgod (45)

look directly in the middle for a bit it is really trippy very cool(blue)

Mohammad96 (29)

BookieO can you learn me python?

Bookie0 (3914)

Uh yeah sure what help do you need? I my self am not that great; I know some stuff but I’m not a pro. @Mohammad96
Here is a tutorial someone made:

https://repl.it/talk/learn/Python-Bacics/34120

Mohammad96 (29)

@Bookie0 I hope you can work with me if you like

Bookie0 (3914)

Hi, sorry I’m not available to do collab because I don’t have a pc or Mac to do collab (I’m on mobile).
However, you can ask me questions when you have some, and I’ll try to help you.
I hope you understand, sorry I can’t do it with [email protected]

Bookie0 (3914)

Thanks for understanding! You have questions, I can try to help [email protected]