menisadi

joined 1 year ago
 

I quite new to web development. I created a simple game which suppose to raise awareness to the RP syndrome (which I suffer from). The simple goal is to find Waldo but the twist is that there is nothing but him on the screen.

I want to add a "flashlight courser effect" meaning that the only visible part of the screen should be the one around the courser (for some fixed or maybe chosen radius). But, I don't want the rest of the screen (the non-visible) to be black but white / blank (as this is in a way the way that I see the world). The other elements (buttons, score and counter) should stay visible always.

Can someone advice me on how can it be done? Ideally there should be two switches (on the corner) one controlling the mode (full visibility vs limited field of vision) and the second one controlling the type of "darkness" (black vs white).

Here is the link to the repo with the current code: https://github.com/menisadi/RPWaldo

Thanks in advance

Update: Thanks everyone!!! I used the SVG idea and added the flashlight effect" (even added a switch to toggle the "flashlight mode" on and off). Working great. Thanks!

[โ€“] menisadi@programming.dev 0 points 11 months ago (1 children)
[โ€“] menisadi@programming.dev 0 points 11 months ago (1 children)

Thanks! Just a little question: will it indeed fit into a backpack? :)

 

Hey all

I've been searching for a portable keyboard that I can easily carry in my backpack as I switch between different working spaces. Since I primarily use MacOS, I'm looking for a keyboard with a MacOS layout. After some research, I've narrowed down my options to three models:

  1. Nuphy Air60
  2. Logitech K380
  3. Keychron K7.

I'd appreciate your insights and recommendations on which one would be the best fit for my needs. Here are a few things I'm considering:

  1. Portability: How easy is it to carry in a backpack? Is it lightweight and compact enough for on-the-go use?

  2. Compatibility: I need it to work seamlessly with MacOS. Have you had any compatibility issues with these keyboards on a Mac?

  3. Typing Experience: How comfortable and responsive is the typing experience? Is it suitable for extended periods of typing?

  4. Build Quality: Does the keyboard feel durable and well-constructed? Any issues with keys or connectivity?

  5. Battery Life: How long does the battery typically last on these keyboards?

  6. Any Additional Features: Are there any standout features or drawbacks that I should be aware of?

If you've used any of these keyboards or have other recommendations in mind, please share your experiences and thoughts. Your input will be a big help in making my decision!

Thanks in advance for your assistance! ๐Ÿ˜Š

[โ€“] menisadi@programming.dev 0 points 1 year ago (1 children)

That is great! But can I ask how much do you donate? I feel that if I try to donate to all the creators that I use the tools they develop or consume the content they create, this expense will bypass my rent (unless I will give everyone a really, really small donation).

 

After thinking about it for a long time I came to the conclusion that I'm OK with ads. They are not so annoying to me and as long as they are not popping out or really interfering forcefully I fine with them being there. As far as I can see ads are the de-facto fuel for a broad part of the content-creation monetization system which I consume heavily (mainly YouTube).

so, I want to configure my set-up so it won't block all the ads (especially not on YouTube). But, I do think that the amount tracking this days sites have is highly exaggerated and unnecessary (I worked on data-science so I can say that with a bit of confidence). Therefor I do want to block trackers and third-party cookies if possible.

Currently using Firefox both on my Macbook and my Android phone (with Duckduckgo as my search engine).

Is the above possible? Which extensions might be relevant?

Thanks And please don't kill\cancel me :)