Share your repls and programming experiences

← Back to all posts
UWU BUBBLES!!!
h
RayhanADev (1968)

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:

https://p5js-screensaver.rayhanadev.repl.co/

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!

Comments
hotnewtop
EnderMarkoth (8)

@MatthewHou OMG HOW DID YOU DO THAT???

CookieSnowOwl (41)

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

Yoplayer1py (2)

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

CookieSnowOwl (41)

Ah, I can't. Replit.com 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
else:
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:
try:
if is_pressed('x'):
on = False
elif is_pressed('z'):
on = True
elif is_pressed('n'):
on = ''
except:
print("please press s to start or e to end")
if on == True:
click()
sleep(wait + x)
elif on == '':
raise Exception("ok bye!")
autoclick()

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 (1093)

Wait, this much satisfaction is illegal....

EnderMarkoth (8)

@OldWizard209 calls police on the creator

RayhanADev (1968)

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

TheC0derGirl (215)

I

love

this

so

MUCHH!!

POG

POG

POG

POG

RayhanADev (1968)

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

TheC0derGirl (215)

@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 (1968)

@TheC0derGirl lmao

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

TheC0derGirl (215)

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

RayhanADev (1968)

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

RayhanADev (1968)

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

TheC0derGirl (215)

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

Coder100 (16919)

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

for (let i = arr.length - 1; i >= 0; i--)
Codemonkey51 (1049)

oh hai, amazing project :D

FlaminHotValdez (437)

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

Dalton0001 (1)

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

RayhanADev (1968)

@Dalton0001 ah yes, what a profound statement :D

Bookie0 (5965)

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 (1968)

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

RayhanADev (1968)

@Booki0 i'll get started ;D
also:

@RayhanADe

my first thought went

@RayhanADeDeDe

lmao

RayhanADev (1968)

@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 (5965)

@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 (1968)

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

Mew64 (1)

Very awesome. i filled my window with bubbles

BananaJellyfish (200)

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

IcynDevz (762)

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

noway15 (60)

wait @RayhanADev when is the Pokemon MMO coming out

RayhanADev (1968)

@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 (5)

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

LarryChenDaBest (0)

i got less than 1 fps with an autoclicker XDDDDDDDDDDDD

DREWthejsman (5)

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

sojs (295)

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 (553)

When I take off my glasses on the road

THE CARS AAAAAAAAAAAA CALL AN AMBULANCE

KobeFF (1260)

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 (1968)

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

KobeFF (1260)

@RayhanADev oof, found a g l i t ch

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

RayhanADev (1968)

@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 (26)

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="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.2.0/p5.js"></script>
RayhanADev (1968)

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

GhostKing007 (26)

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

xxpertHacker (854)

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

GhostKing007 (26)

@xxpertHacker - Cool!

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

EnderMarkoth (8)

can i just...steal this....forever?

RayhanADev (1968)

@EnderMarkoth feel free to fork and attribute :)

Luchadordragon (16)

I combined this with a auto clicker, lets call it RAM'B GONE, needless to say I got a error