i made a lot of progress last couple of days cleaning up my bookshelf code by moving the book generation logic into a new book.js file, which made it way easier to load real cover images directly from my JSON data. I had to use AI to figure out the 3D book animation because the math was really hard, but now the spine and cover finally open naturally without clipping through each other. To make the books look more realistic, I also blended the paper texture right into the cover art and added a crease shadow that fades in inside the spine when a book is clicked open. I wrapped it up by building a continuous hover-scroll loop for the navigation arrows, so the shelf just pans smoothly the whole time my mouse is resting on them.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.