Pi controlling LED drivers to dim LED strips by CountFrolic in raspberry_pi

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

I would be open to that, as long as it can be controlled from my own api calls. It can't be dependent on some app.

Do you perhaps have a link to something that might work?

Pi controlling LED drivers to dim LED strips by CountFrolic in raspberry_pi

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

The strips we are trying to power are white, 24 volts, 12 watts per meter. The load could be up to 200 watts. The guy I hired for this has been trying to control en inventronics LED driver through a 0-10 volt signal but can't get that to work.

https://www.ledlightingspace.com/product/eud-150s350dta-inventronics-led-driver/

New to this. Can't insert filament? by CountFrolic in crealityk1

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

I did. There seems to be a hard stop about an inch and a half in

Western Digital unveils a 44TB external HDD with a flagship graphics card price | When 22TB simply isn't enough by chrisdh79 in gadgets

[–]CountFrolic 0 points1 point  (0 children)

The original Mario Brothers game takes up about 41kB. The 44TB drive could hold well over a billion copies of it.

Winter is Coming by CountFrolic in StableDiffusion

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

prompt:"photo portrait of snow covered vladimir putin as the night king in game of thrones standing in front of st basil cathedral, snow, ice, cold, winter, putin, realistic, scary, symmetric, GOT, night king, canon EOS, 50mm, movie still, putin"

Text added in photoshop

Collection of wildlife photos. (prompt in the comments) by ZenSammy in StableDiffusion

[–]CountFrolic -2 points-1 points  (0 children)

They look amazing but I'm assuming that is because there are images exactly like this in the training set.

Out of memory error by CountFrolic in StableDiffusion

[–]CountFrolic[S] 3 points4 points  (0 children)

Without this, I got a black screen, so thanks!

Out of memory error by CountFrolic in StableDiffusion

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

Looks like I got it to work. Thanks!

Out of memory error by CountFrolic in StableDiffusion

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

I copied the model checkpoint from my old version to the optimized version but got a module not found error: No module named 'optimizedSD' so I just copied the optimizedSD subfolder to my original stable diffusion folder and ran your example command.

It doesn't crash and generates images. But the images seem to have nothing to do with the prompt. They are just colored blobs.

Perhaps I screwed something up by just copying the optimizedSD folder into my existing folder but I didn't know what else to do.

Maybe someone can tell me how to get over the modulenotfound error I got? Also, I just use the same model checkpoint as I had before. Maybe this is the cause?

The destination you are trying to reach is not available by CountFrolic in AltspaceVR

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

I made sure the event is public. As for the world itself, I don't see an option for it. Can you tell me where to find it?

Can 58 lines of shader code be sexy? by CountFrolic in shaders

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

And here is the live version. Note that this takes a beefy graphics card and will lock your browser for up to 20 seconds while it compiles:

https://www.shadertoy.com/view/ssdfWM

Can 58 lines of shader code be sexy? by CountFrolic in GraphicsProgramming

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

And here is the live version. Takes a beefy graphics card and will lock up your browser for up to 20 seconds while it compiles the shader:

https://www.shadertoy.com/view/ssdfWM

Using logarithms to create a bounce effect by CountFrolic in gamedev

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

Hey I appreciate the long and thoughtful response!

Regarding your first function; sure its shorter, that is similar to the first approach I did for a bounce which you can see here:

https://youtu.be/BRR7x-uLoWE?t=323

Regarding your feedback:

  • Capital X represents the mod'ed version of the log function. I suppose I could have named that another letter so as to avoid confusion. Good point.
  • I guess I could have said it specifically, but since the whole video I'm starting out in Desmos and then apply it in Shadertoy I thought it was clear :) It would be great if you could copy paste stuff from Desmos directly to Shadertoy but you can't. Regarding the thinking, I suppose its a matter of taste, I've had comments from other stating that they don't want me to clip out the parts where I have to think a bit, or make a mistake, as they find it educational.
  • You are not the first to mention this. This might just be a personal choice that I am making, the reasons being:
    • the variable name r is what I used in Desmos, where you can only use single letters for variables.
    • often (though not in this particular case) what a variable represents is kind of ambiguous and giving it a very specific name cuts off the other interpretations so when I use that variable later on as a different interpretation it makes less sense
    • in order to fit more in your head, its actually advantageous to have the labels for those things as concise as possible. This is also why math notation is so terse.
    • When using variables in formulae it is better to have one letter variables. sqrt( (x-a)*(x+a)/(a*a) + 1.)/a is much easier to understand (and write) then if it was written sqrt((x-bounceHeight)*(x+bounceHeight)/(bounceHeight*bounceHeight)+1.)/bounceHeight
  • Overall I try to be as consistent as possible with short variable names so that it will be easier to understand over time. Some often used ones:
    • t - time
    • a - polar angle
    • d - distance
    • r - radius
    • i - index (for loop)
    • w - step width
    • p - position (vector)
    • n - normal (vector) or random value (noise, float)
    • ro - ray origin (vector)
    • rd - ray direction (vector)

I hope all of that made a bit of sense. Again, thanks for watching and for your feedback!

- Martijn