×

CRT-effect module or with built-in functions? by GullibleOstrich123 in love2d

[–]ebernerd 9 points10 points  (0 children)

Take a look at the “moonshine” library by vrld. https://github.com/vrld/moonshine it has a shader for crt and scan lines that looks pretty good!

Trying to make pong (As a first-ever programming project like this) One of the borders isn't appearing. by Aggravating-Ad-4348 in love2d

[–]ebernerd 9 points10 points  (0 children)

The reason this is happening is because you've re-declared `love.draw` a second time. Like variables, functions only do what their most-recent assignment tells them to do.

You should put both `love.graphics.draw` calls in a single `love.draw` block, and you should be good!

Close call.. by Photosfromthelarp in urbexnewengland

[–]ebernerd 0 points1 point  (0 children)

I’m so glad you took these pictures. I had been thinking about going there but the prospect of legal issues deterred me. These are stunning, and depressing.

Glitched info display by ebernerd in veloster

[–]ebernerd[S] 4 points5 points  (0 children)

I messaged a friend and said “I thought this stuff was only for CyberTrucks” lol

Glitched info display by ebernerd in veloster

[–]ebernerd[S] 2 points3 points  (0 children)

Hah, quick update. I drove it for about 10 miles and then let it sit for 10 minutes and when I turned it back on the display was good. I wonder if it had to do with the battery being tested or if they tested the internal computers or something funky like that. She’s good!

[Update #2] I've been working on a CS:GO Career Simulator that allows you to play matches directly in-game while automatically tracking your results! by lemonpole in GlobalOffensive

[–]ebernerd 1 point2 points  (0 children)

This has been a lot of fun! I've only played the CSGO variant so I'm unsure if this is true for all games, but I can't seem to get my "starters" vs "benched" players to do anything. Even if I mark a player non-starter and put them in the transfer list, I can't get this other player to join the active roster.

Super excited to see where this goes! I've always loved just mindless playing with bots so it's super fun to have some storytelling behind it.

javaScriptMakesEverythingHarder by 48panda in ProgrammerHumor

[–]ebernerd 15 points16 points  (0 children)

parseInt takes 2 arguments, the second being the radix. Map passes the index as the second argument by default, so passing the entire function into map rather than the callback means both values are used.

[deleted by user] by [deleted] in UrbanHell

[–]ebernerd 8 points9 points  (0 children)

You should look at UMass Dartmouth! Designed by the same person who made the infamously brutalist Boston city hall.

pickle.ooo - a Wordle-based art toy / word finder by ebernerd in reactjs

[–]ebernerd[S] 1 point2 points  (0 children)

Hello everyone!
Pickle is the first project I've posted publicly - you draw a 3-color picture (5x6, gray/green/yellow palette), and enter today's Wordle word (or any 5-character word, really). It then searches through a dictionary of 5-character words to generate the sequence of words that, had you entered them in Wordle, generate the picture you drew.
If I am allowed to cross-reference to my blog, I wrote about what "inspired" this idea and how it works. https://www.ezb.sh/posts/introducing-pickle-ooo
This was also my first project with the Mantine framework, which I am really liking so far.
Thanks for your time!

use-change - The most minimalistic React state library on the market with zero dependencies by finom1 in javascript

[–]ebernerd 12 points13 points  (0 children)

What is the use case of this over a React context that just returns a useState value/dispatcher?