Share your repls and programming experiences

← Back to all posts
RayhanADev (2598)

It's Some Bubbles!

A very nice screensaver... just click to add bubbles or (as @Bookie0 recommended ;D) click the a key and it will automatically create bubbles like a screensaver :O!

More Notable People:
@potatojs ~ Making the colors prettier
@Coder100 ~ Being pog boi and fixing the stuttering

I appreciate any suggestions :)

Go into fullscreen here:

Yeah this is very simple compared to other things I've made, but I had a challenge to make something in p5.js in less than 30mins so here we are :)

I'm working on two very big projects, so keep your eyes peeled!

EnderMarkoth (8)


CookieSnowOwl (41)

@EnderMarkoth python autoclicker
i used the keys z and x to start and end and n to cancel it
just import mouse
in idle

Yoplayer1py (6)

@MatthewHou make a repl for it. I am looking for a nice autoclicker.

CookieSnowOwl (41)

Ah, I can't. doesn't support from mouse import click. Anyways, it's not that fast anyways... only 100 cps.
here's the [email protected]
def autoclick():
from keyboard import is_pressed
from mouse import click
from random import randint
yesnomeow = input("Do you want to seem like a bot, Yes or No.\n")
if yesnomeow.lower() == "no":
x = 1 / randint(500, 3000)
elif yesnomeow.lower() == "yes":
x = 0
raise Exception("BRUH")
global on
cps = int(input("How many cps? 1-100?\n"))
from time import sleep
wait = (1 / (cps * 100)) - (1 / 10001)
on = False
while True:
if is_pressed('x'):
on = False
elif is_pressed('z'):
on = True
elif is_pressed('n'):
on = ''
print("please press s to start or e to end")
if on == True:
sleep(wait + x)
elif on == '':
raise Exception("ok bye!")

CookieSnowOwl (41)

though i think i shouldn't have used raise [email protected]

CookieSnowOwl (41)

oh and yes this makes it so can't be detected :) supposedly unless if the catcher is gud :) @MatthewHou

CookieSnowOwl (41)

bro like how did i get 14 upvotes LIKE [email protected]

OldWizard209 (1614)

Wait, this much satisfaction is illegal....

EnderMarkoth (8)

@OldWizard209 calls police on the creator

RayhanADev (2598)

@EnderMarkoth oh noes, I got to hides all my illegal memes the cops will arrest me xD











RayhanADev (2598)

@TheC0derGirl lol are you still a coding cat (nice pfp)
also did you draw that?


@RayhanADev yep im still coding cat :))

not i didnt draw it, i customized it on a website then added more details to it on procreate :)

RayhanADev (2598)

@TheC0derGirl lmao

oh sweet! what's the website I like the style xD


@RayhanADev i forgot the name lmao-
also all the instructions were in japenese and the buttons were to so uh

RayhanADev (2598)

@TheC0derGirl actually you remind me a lot of someone i know :/


@RayhanADev really? :/

RayhanADev (2598)

@TheC0derGirl yeah, my bestie you seem verrrryyyy similar to her... eh well except she really does not like coding xD


@RayhanADev wow!....... i would have liked to be friends with them but they dont like coding XD

Coder100 (18881)

one thing though, it flickers, make sure your loop goes backwards not forwards!

for (let i = arr.length - 1; i >= 0; i--)
IOP3 (847)

My masterpiece:

IOP3 (847)

Yup! XD @RayhanADev and I made it my new profile pic! lol

FlaminHotValdez (714)

my...eyes...sleepppyyyy...shouldn't have spam clicked

Codemonkey51 (1062)

oh hai, amazing project :D

Dalton0001 (1)

edit: i meant to post an image here and for some reason it didnt show lol

RayhanADev (2598)

@Dalton0001 ah yes, what a profound statement :D

Bookie0 (6358)

pretty cool, how about making it automatic? since it's a screensaver, it should start the animation without us having to tap it! :D

RayhanADev (2598)

@Bookie0 hmmmm :)
perhaps start it and then prompt the user to continue?

RayhanADev (2598)

@Booki0 i'll get started ;D


my first thought went



RayhanADev (2598)

@Bookie0 done!
It launches 100 bubbles at the start and then fades in text after they're gone :D

one problem it stutters at a lot of bubbles because of the bubble dropping from array logic :/ but i guess that's just how it'll be

Bookie0 (6358)

@RayhanADev really cool! but like maybe a menu option for either manual creation of bubbles, or automatic creation of bubbles (because screensavers are supposed to be automatic no?)


RayhanADev (2598)

@Bookie0 gotcha!
now if you press a, it will auto spawn bubbles!

Mew64 (1)

Very awesome. i filled my window with bubbles

BananaJellyfish (210)

This is very satisfying. If i had it my way, though, i'd make every bubble orange(because orange is the best)

RayhanADev (2598)

@BananaJellyfish hahahhahahhaha
then if you'd like go ahead and fork it :)

JWZ6 (711)

@BananaJellyfish IKR Orange is my favorite color yeet


@BananaJellyfish i like blue is that ok

BananaJellyfish (210)

I'm going to let it pass because orange goes well with blue @AJDevelopment

noway15 (97)

wait @RayhanADev when is the Pokemon MMO coming out

RayhanADev (2598)

@noway15 crab you remember that that project is currently abandoned xD I don't have the hours for that lol.

EnderMarkoth (8)

hope no photoasensative ppl forget to turn the brightness down XD

RoyalDiadem (9)

when you spam "a" that it lags (without autoclicker)

LarryChenDaBest (0)

i got less than 1 fps with an autoclicker XDDDDDDDDDDDD

DREWtheman (5)

when you uwu about b u b b l e to hard

sojs (352)

cool, but the bubbles disappear too fast and move too quickly. It takes up too much CPU to be a good screensaver, as it will drain battery.

Whippingdot (678)

When I take off my glasses on the road


KobeFF (1272)

Wow, this is amazing! I have a suggestion, instead of making the bubbles suddenly poof disappear, try making it slowly fade away instead, I think that'd be cool :D

RayhanADev (2598)

@KobeFF thanks!
and hmm, i'd love to try :)

KobeFF (1272)

@RayhanADev oof, found a g l i t ch

when you click near the cornor of the screen the bubbles freeze XD

RayhanADev (2598)

@KobeFF lol they don't freeze that's intentional because of how math and stuff works
there's math calculating the direction the bubble travels and then how it rebounds, when you click into a corner the bubbles it will constantly rebound back and forth between the corner because it can't move elsewhere :P

GhostKing007 (142)

This is pretty pog!

Also, why do you have a p5.js file with 80,000 lines of code? Won't using the following in html work?

<script src=""></script>
RayhanADev (2598)

@GhostKing007 thanks! i sometimes just manually load the libs :P
i have hacker might as well use it no xD

GhostKing007 (142)

@RayhanADev - lol so hacker subscription lets you make large lib files, or does it like improve performance?

xxpertHacker (931)

@GhostKing007 let's 'em have extra storage usage per-repl.

GhostKing007 (142)

@xxpertHacker - Cool!

tbh I thought RayHanADev replied, and I was surprised at how quick the reply was lmao