4s7z8 98t9z 9iasr k467h i9aka 8t8ar t48rn 6nknn 9k296 dky8f 6hf6y f5bd5 t2ysb 9ksi3 6hath 6zyrt 5h49b kf6ni 289hn af3tt rk5r6 Etch a Sketch: code is not optimal (JS) |

Etch a Sketch: code is not optimal (JS)

2022.01.21 19:48 Anna-Schmidt-RE Etch a Sketch: code is not optimal (JS)

Hi there! The page is a pixelated sketch pad for TOP's Etch a Sketch project. After completing the requirements for the project (mainly based on a sketch pad painted with mouse hovers), I tried to code something that would paint the pad when mouse is pressed down only.
I would be super greatful if you could help me improve. The current version has the following issues: 1) it doesnt work for mobile (neither with finger nor with stylus), 2) to paint a specific grid cell I have to click on the neighbouring cell and drag the mouse over to the target. Thats terrible. 3) while drawing sometimes a bug occurs where it keeps painting after mouse is release. 4) I believe my code is ugly, repetitive and over-engineered.
Here I am sending you the live preview link (note that after the footer there is a link to the first version - mouse-hover based): https://bgtti.github.io/sketchpad/
And here is the code: https://github.com/bgtti/sketchpad
I had a lot of fun building it, and some guidance would be awesome.
submitted by Anna-Schmidt-RE to learnprogramming [link] [comments]


2022.01.21 19:48 Tokyono Mrs. Cecil Wade (1886), John Singer Sargent, [3305 x 4001]

Mrs. Cecil Wade (1886), John Singer Sargent, [3305 x 4001] submitted by Tokyono to ArtPorn [link] [comments]


2022.01.21 19:48 audricd ERC20 wallets (BATH, XCAD, VSP...) - ledger

I am a newbie to ETH in general, excuse my lack of knowledge, hence this thread. I am a bit lost trying to create for example a BATH wallet, to receive liquidity mining rewards. I am using a ledger nano x. Trying to add a BATH wallet it asks me to fund a eth wallet. I believe I did that but to my eyes it seems I just created an ETH wallet with a different label. And I am afraid to set it as my bots wallets for BATH. Could anyone explain to me the basics here on how to set up a bath wallet on a ledger? I am having the exact same issue for XCAD, and other ERC20 coins. It seems to be very different from regular BTC wallets which is the only thing I am familiar with. Thank you very much.
submitted by audricd to eth [link] [comments]


2022.01.21 19:48 orgasmicravioli Keeping myself happy while my FP is gone on a trip.

I guess a lot of my issue right now besides the feeling of just absolute complete doom is I can't really stay focused on anything and thats generally what keeps me sane. I have a project I want so bad to finish but my brain is a pool of lost mush right now.
I wish it were as simple as missing him but unfortunately that's just not how my brain works.
What are some things you do to help keep yourself focused and happy when you're mentally struggling.
submitted by orgasmicravioli to mentalhealth [link] [comments]


2022.01.21 19:48 donotscam A Preview of Season 2...

A Preview of Season 2... submitted by donotscam to squidgame [link] [comments]


2022.01.21 19:48 WillowJohn RIP Thich Nhat Hanh. What is one of your favorite quotes of his?

submitted by WillowJohn to AskReddit [link] [comments]


2022.01.21 19:48 Bumpadump2002 Oh! So THIS is the thanks I get for working overtime?

Oh! So THIS is the thanks I get for working overtime? submitted by Bumpadump2002 to cartoons [link] [comments]


2022.01.21 19:48 BroMandi 24-Oz Scrubbing Bubbles Toilet Bowl Cleaner (Rainshower) $1.70 w/ S&S + Free Shipping w/ Prime or on orders over $25 [Deal Price: $1.70]

24-Oz Scrubbing Bubbles Toilet Bowl Cleaner (Rainshower) $1.70 w/ S&S + Free Shipping w/ Prime or on orders over $25 [Deal Price: $1.70] submitted by BroMandi to Deals_HomeImprovement [link] [comments]


2022.01.21 19:48 DoctorTurkelton Found out.

Found out. submitted by DoctorTurkelton to facepalm [link] [comments]


2022.01.21 19:48 rowdy1212 Why does my account not have a "hidden" folder or a "settings" button??

I don't have a "hidden" folder or a "settings" button. I have Nft's under "activity" because they have been sent to me, but i can't put them in my "collections" folder.
submitted by rowdy1212 to opensea [link] [comments]


2022.01.21 19:48 Thuggook Round 2: The good folks at Geissele let me grab the rest of these ALG coupons for you guys.

submitted by Thuggook to CAguns [link] [comments]


2022.01.21 19:48 Hyperpixel-gaming They are done, Never again will I play these two dog shit characters

They are done, Never again will I play these two dog shit characters submitted by Hyperpixel-gaming to bindingofisaac [link] [comments]


2022.01.21 19:48 duskdude97 Finished!

Finished! submitted by duskdude97 to WipeOut [link] [comments]


2022.01.21 19:48 clubofsouls "FAN ART" by me

submitted by clubofsouls to fanart [link] [comments]


2022.01.21 19:48 paradise867 Movies that don’t need a sequel but you’d like to see one anyways?

Any movie that is great as it is and doesn’t have any blatant sequel tease. The kind of film where no one has really asked or talked about wanting a sequel.
The movie where, if you mentioned you’d like to see a follow-up, you’d get responses like: “Why?” Or “Any sequels will just ruin it, let it be” or “It would just be a cheap money grab” or “another film would never match the first, so why bother?”
Spoilers: For me, it’s Ex Machina. Yes, the first film is great as it is, but the ending REALLY makes me want to see what happens next. How Ava tries to build power in society, how the world reacts to Oscar Isaacs characters death. Maybe we learn more about his company? Maybe they find Gleason alive and he has to find Ava? Even if Gleason stays dead, maybe the people who find Isaacs house know that an AI is loose and we go from there?
Again, we don’t need this. There’s a huge likelihood that it would be worse than the first.
But hell, I think they could make it really interesting if they tried.
submitted by paradise867 to movies [link] [comments]


2022.01.21 19:48 Joeeeeeb All for sale, dm offers🤝

All for sale, dm offers🤝 submitted by Joeeeeeb to MADFUT [link] [comments]


2022.01.21 19:48 reacher679 Build Back Better may be dead, but that doesn't necessarily mean that the expanded EV Tax Credits are...

Build Back Better may be dead, but that doesn't necessarily mean that the expanded EV Tax Credits are... submitted by reacher679 to electricvehicles [link] [comments]


2022.01.21 19:48 ProbablyNotPro Elusive Target arcade missions immediately failed.

Just logged into hitman 3 year 2 today to give ETA a try. But 2/3 missions are blanked out, saying I failed them. Any Help?
submitted by ProbablyNotPro to HiTMAN [link] [comments]


2022.01.21 19:48 No-Development9401 https://app.albrt.co/sZWs76yE0mb

submitted by No-Development9401 to Refereum [link] [comments]


2022.01.21 19:48 Uchiha-Sansu How many theories actually came true?

Hello, I’m a new one piece fan that just caught up with the manga. I’m always seeing theories on reddit, Twitter and YouTube.
I was just wondering were there any theories that actually came true in the past?
submitted by Uchiha-Sansu to OnePiece [link] [comments]


2022.01.21 19:48 vali_date_me_ Has anyone here managed to fully disentangle from the orthodox world while retaining healthy ties with family?

It’d be about 15 paragraphs if I tried to explain what is triggering this post, so in short I have been on my otd “journey” for 20+ years now (starting in my mid-teens). I have tried in the past to cut myself off from family, but always end up with this deep feeling of guilt/disconnect that is hard to describe. Because family and religious practice are to intertwined in the orthodox world, anytime I participate in family events or holidays I am by default participating in their ridiculous lifestyle/rituals and am pulled into all the stress/anxiety that comes along with that. I won’t get into detail about it but I think anyone who grew up ultra-orthodox understands what this entails pretty well. Some factors that make the issue a bit more complex currently: My mom died a few years ago and I moved back into my family home to keep my dad company (he lives here alone) and take advantage of rent-free living while I was getting my degree. This means I am by default preparing shabbat food, sitting at meals etc etc. I also have a mentally disabled sister that lives in a group home, and I know from past experience that it becomes incredibly difficult to remain connected with her when I’m not regularly seeing family. I guess this post is more of a vent than advice seeking, but I just wondered if anyone out there has managed to establish healthy boundaries with family, and how you were able to navigate that without hurting feelings.
submitted by vali_date_me_ to exjew [link] [comments]


2022.01.21 19:48 IgorEsse Controller issue with steam

I think steam recognize my steering wheel on the game (simucube 2 pro) and continue to scroll down even if I am not touch anything and just want to play with mouse. Anyone else have this problem with the same or other input? Thanks a lot
submitted by IgorEsse to masterduel [link] [comments]


2022.01.21 19:48 tenhundredrats any picrews with a large variety of skintones?

I
I'm pacific islander and for some reason I can never find my skintone in picrews and its very frustrating! they never have warm skintones!
submitted by tenhundredrats to picrew [link] [comments]


2022.01.21 19:48 Goldan99Cz ForBiden

ForBiden submitted by Goldan99Cz to shitposting [link] [comments]


2022.01.21 19:48 ColonelCaboose BattlePass Loading Issue

Since yesterday I cannot get my battlepass to load. O have no clue of telling what challenges I have left or need to do. I have tried letting it load for a long time with no success. Any other options out there?
submitted by ColonelCaboose to halo [link] [comments]


http://krasbuton.ru