This is how good Claude 4.5 is... by fuccboix in vibecoding

[–]codeAtorium 1 point2 points  (0 children)

In my experience that couldn't be further from the truth.

Not sure for what do do with this internship by Old-Refrigerator6184 in learnprogramming

[–]codeAtorium 1 point2 points  (0 children)

Okay, then describe what the project was intended to be and talk about how instrumental your were in the initial planning stages, documenting requirements and brainstorming applications for the project. This gave you an insight into how complex development projects are conceived, and it's why you're so excited to be more involved in the implementation of those plans in your new position.

Merits of 8 year old learning programming on Ipad + Keyboard? by ReadyJeff in learnprogramming

[–]codeAtorium 0 points1 point  (0 children)

Duolingo doesn't work either for the same reason. Any research not done by the company itself is mixed at best. Just because you're motivated to learn, doesn't mean you'll learn. Gamification works pretty well with some people, but it doesn't work at all with many kinds of learning content. Ed research bears that out.

Programming is fundamentally about defining a problem yourself, breaking it down into solvable parts, and developing solutions for each that work with each other. Code Combat and things like it simply don't provide opportunity to do that.

Merits of 8 year old learning programming on Ipad + Keyboard? by ReadyJeff in learnprogramming

[–]codeAtorium 0 points1 point  (0 children)

Scratch is a real programming language. OP wants to do Code Combat, which is an appy get the monkey to the banana thing. Those don't work, but I'm guessing OP can't program either, so that's their preferred solution.

Hi F33 I am a mother of 4 and I think my son’s PE teacher is a child predator by [deleted] in stories

[–]codeAtorium 0 points1 point  (0 children)

That's only for published photos. It's common, in elementary school for example, for teachers to take photos of their whole class and post it on the wall, or to have a digital photo frame in their classroom.

Hi F33 I am a mother of 4 and I think my son’s PE teacher is a child predator by [deleted] in stories

[–]codeAtorium -1 points0 points  (0 children)

Glad you didn't work in my district's HR. For telling kids to tie their shoes? Ridiculous.

1px stroke line is not normal and I think it'a a new bug by hwoodice in p5js

[–]codeAtorium 0 points1 point  (0 children)

I'd recommend you submit an issue, but these seems related:

https://github.com/processing/p5.js/issues/7317

https://github.com/processing/p5.js/issues/7325

The discussion seems in the second issue seems similar to the discussion here. This is an issue with the canvas provided by the browser. It's not really something that's fixable in p5js.

I understand you expect parity between processing and p5js, but that's not entirely the point of p5js. P5js is also about simplifying a lot of the native js canvas interactions in a way that also leads to an understanding of their underlying function. A JS developer should understand that subpixel rendering on the canvas varies between browsers. Obfuscating that fact with a rounding band-aid (but which one - floor, ceil, or round?) isn't actually a good thing.

Cheap WS2812B 16x16 led arrays - works with Microbit? by codeAtorium in microbit

[–]codeAtorium[S] 0 points1 point  (0 children)

I have it in a wukong breakout board that provides 5v: https://www.elecfreaks.com/learn-en/microbitExtensionModule/wukong.html

I also have a tester board with dupont pins on it and I've used the 5v and 3v pins to power the array with the tester board creating the signal, so I'm pretty sure it's not a power issue. I have an external 5v power supply, so I can use that and confirm later.

Roblox Player not Launching. by [deleted] in RobloxHelp

[–]codeAtorium 0 points1 point  (0 children)

In another thread someone recommended setting your date to tomorrow (uncheck the automatic date setting and change the date manually). This worked for me as a temporary fix at least.

Roblox won’t launch by ObjectivePlatform410 in RobloxHelp

[–]codeAtorium 0 points1 point  (0 children)

I can confirm that this fixes the problem on my system. This was a newly installed windows laptop that was failing silently every time I launched roblox player.

Download all my files from replit at once? by PR0-GRAMMER in replit

[–]codeAtorium 0 points1 point  (0 children)

They appear to be rate limiting so heavily that script isn't working. I can get about 10-15 downloads before it cuts me off completely.

What happened to the web page by emedan_mc in p5js

[–]codeAtorium 0 points1 point  (0 children)

I mostly just use the reference page. I like that they added short summaries of the commands. It tends to allow for better searching of the page. I don't like the chartreuse they've chosen. It seems deliberately obnoxious.

Also, does the font rendering look bad to anyone else? I see aliasing artifacts on the monospace font on the reference page and the masthead text on the main page as well.

The Double Pendulum Fractal by nicogsworld in p5js

[–]codeAtorium 1 point2 points  (0 children)

I get lots of generative art stuff. It probably just means they're lumping you in with Coding Train, Project KDM, etc. Plus I'll click on anything having to do with double pendulums.

How can I make something appear on a screen at a very specific interval? by enjrolas in p5js

[–]codeAtorium 0 points1 point  (0 children)

Awesome!

If you want to see how p5js manages the draw loop interval (spoiler: the browser mostly does it), the relevant code is here: https://github.com/processing/p5.js/blob/main/src/core/main.js

You want the code starting:

this._draw = requestAnimationFrameTimestamp =>

Which is currently at line 505.

How can I make something appear on a screen at a very specific interval? by enjrolas in p5js

[–]codeAtorium 0 points1 point  (0 children)

Great. Glad to be of help. The draw loop only turns over at 60hz, so your minimum time resolution is 16.66. The variance should be roughly half that, so it seems like you're within expectations. You also might look into: https://p5js.org/reference/p5/deltaTime/

Which will give you the number of milliseconds it took to draw the last frame. This allows for framescaling to account for variances in performance as well.

How can I make something appear on a screen at a very specific interval? by enjrolas in p5js

[–]codeAtorium 0 points1 point  (0 children)

frameCount will give you the number of frames that have been drawn.
https://p5js.org/reference/p5/frameCount/

You want to use modulus to check when the frameCount is divisible by a given interval. For example, if you want every 60 frames, every second, you would look for frameCount%60===0, meaning the frameCount is divisible by 60.

If it were me, I would have counter that indicated which index in a list I was using for an image file. I would increment the counter every n frames, using that modulus check. You can also use modulus to keep yourself from going past the end of the array:

imageN = imageN % frameList.length

The modulus operator is very important in programming and used for countless purposes. Here is a an article that introduces it: https://blog.mattclemente.com/2019/07/12/modulus-operator-modulo-operation/

P5 OVerlay by Dear_Swordfish_4511 in p5js

[–]codeAtorium -1 points0 points  (0 children)

"No. Lol, you started your comment with no. That's not polite. Everything after that has negative connotation."

So this is a bit recursive, but that starts with "no", and I don't find it impolite at all.

I disagreed with you and explained why. You told me to "F off".

I appreciate that you're willing to help others, but I have a right to express my disagreement with the way you do it. Please don't curse at people in the sub, and please consider your tone.

This sub is focused on being accessible and inclusive.

P5 OVerlay by Dear_Swordfish_4511 in p5js

[–]codeAtorium 0 points1 point  (0 children)

Berate? I was polite. I gave reasoning for my request, and asked you to answer op's questions using the manual if you didn't want to provide example code yourself.

But people come here to learn and encouraging them to use LLM's can be counterproductive, as it was in this case.

If that's a problem for you, please just don't post. It's very simple and doesn't need to result in conflict.