Sylvain
sylvnco.bsky.social
Sylvain
@sylvnco.bsky.social
Freelance Software Engineer exploring indie entrepreneurship.

Building https://www.creativedevjobs.com
I struggled with a Cube solver. Spent hours mapping my 3D cube to state strings it can process.

The solver can barely solve it and takes way too many steps for basic shuffles.

Calling it a day on this project... at least the scrambles look cool! 😅
November 18, 2024 at 11:39 PM
By adding components from r3f and drei, I can easily make my scene visually more interesting.

Here, I just added ContactShadows, Float and an Environment for the reflection.

The teams behind these libraries really did an awesome job!

Composition is still hard though.
November 15, 2024 at 9:56 PM
Still working on my Rubik's Cube.

I’ve got the mouse controls working, but there are some collisions with the orbit controls that I’ll polish later. But overall i'm ok with the result.

The code is a bit messy, though.

Next : scramble / resolve feature and enhancing the visuals.
November 13, 2024 at 9:39 PM
Improving my web 3D skills by building a Rubiks cube with R3F.

It was harder than expected until I discovered the key was to attach/detach meshes to handle face rotations.

Focusing on the logic first before polishing the visuals.

Next step is mouse drag controls.
November 7, 2024 at 11:09 PM