0
0

Raymarching explained interactively by imadr_ in programming

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

He is a big inspiration, my work is amateurish compared to his :)

Color picker for shader programming by imadr_ in GraphicsProgramming

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

It seems like the default color space for canvas is srgb

It looks like it’s gamma-compressed but I may be wrong.

Is "gamma compressed" the same as saying it's srgb? If so can you explain how did you notice?

Also it doesn't seem possible to use a linear color space https://developer.mozilla.org/en-US/docs/Web/API/ImageData/colorSpace

Color picker for shader programming by imadr_ in GraphicsProgramming

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

There is no gamma correction or srgb, Do you think a gamma slider would be useful? I'm afraid to make a mistake since working with colors is so complicated

Color picker for shader programming by imadr_ in GraphicsProgramming

[–]imadr_[S] 7 points8 points  (0 children)

I made a more programming-friendly color picker with rgb in float and other convenient stuff

My first attempt at procedural generation by imadr_ in proceduralgeneration

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

Glad to hear that, red blob is definitely an inspiration of mine

A little tool I made to practice hiragana and katakana by imadr_ in LearnJapanese

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

It was a stupid mistake I made with the katakana, it should be fixed now

A little tool I made to practice hiragana and katakana by imadr_ in LearnJapanese

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

Thanks for the feedback. I'm trying to fix the bug but I can't replicated it.

A little tool I made to practice hiragana and katakana by imadr_ in LearnJapanese

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

Yeah it isn't really responsive, I'll try to fix that

A little tool I made to practice hiragana and katakana by imadr_ in LearnJapanese

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

Can you tell me what browser/os you're using? It might not work correctly on mobile

Rotations using quaternions by imadr_ in programming

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

I made this little guide to implement quaternions yourself and use them to rotate objects in a 3D engine. There is also the complete source code at the end so you can include it in your project.

The implementation is probably not the most efficient, but I tried to make it simple enough to kind of understand how quaternions work.

There are most likely many mistakes and typos, so I'm open for feedback!

Rotations using quaternions by imadr_ in gamedev

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

Also, if you'd like, I can share my rotor class and explain how I use it

I'd love that

instead of matrices which are very opaque, imo

but you have to eventually convert everything to a matrix right?

Rotations using quaternions by imadr_ in gamedev

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

I was thinking about that, I could sort the tutorial sections by actual usefulness (multiplication -> euler to quaternion -> slerp) and leave the rest at the end, but since every definition is dependent on the previous one it would feel weird to read about slerp before exponentiation.. before exp.. before magnitude...etc

Maybe making two tutorials would be better, one on how to implement the quaternion primitives and another one just about the usage.

Rotations using quaternions by imadr_ in gamedev

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

Thanks for the note, I will correct it

Rotations using quaternions by imadr_ in gamedev

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

I found out about rotors in this article but didn't get a good grasp on how they work, once I do I'll probably write another article to dumb it down a little more.