Back to front pageView on Hacker News (opens in a new tab)Show HN: 3D Book Image CSS Generator (opens in a new tab)3d-book-css.netlify.app638 pointsby scastiel (on Hacker News)6 years ago3d-book-css.netlify.app (opens in a new tab)3D Book Image CSS GeneratorGenerate an animated 3D image from a book cover and export to HTML/CSS to embed on your website.Comments (87) 43 threadsShow all commentsShowing thread 2 of 43[-]TheHideout6 years ago1 reply#Nice work. It looks like the book thickness isn't corrected for rotation angle. If you made the horizontal width of the inside pages = thickness * sin(rotation angle) it'll be zero when laying flat and full thickness when rotated 90 degrees.scastiel6 years ago#Good to know, thanks :)
Show HN: 3D Book Image CSS Generator (opens in a new tab)3d-book-css.netlify.app638 pointsby scastiel (on Hacker News)6 years ago
TheHideout6 years ago1 reply#Nice work. It looks like the book thickness isn't corrected for rotation angle. If you made the horizontal width of the inside pages = thickness * sin(rotation angle) it'll be zero when laying flat and full thickness when rotated 90 degrees.
Comments (87) 43 threads
Show all comments
Showing thread 2 of 43