Live data from Hacker News

Show HN: 3D Book Image CSS Generator

3d-book-css.netlify.app

71–80 of 88 posts

Re: Show HN: 3D Book Image CSS Generator

#73
post #29

Very cool :) Feature request: can the thickness be a function of the number of pages?

It has been suggested before, it’s a very good idea :)

Well each page is 100mic roughly for 80gsm paper which is pretty standard. So if you did something like a 200 page book that is 20mm's which at 72 dpi roughly 54px's or roughly 27px's for a 100 page book.

That's excluding any cover page, which heavily depends on binding/hard cover/what ever else.

Re: Show HN: 3D Book Image CSS Generator

#77
post #68
post #63

Nicely done! We've been using a very similar setup at the Dutch public library for the last many years - e.g. https://www.bibliotheek.nl/catalogus/titel.263072924.html/th... - complete with thickness based on number of pages (though only in three steps) - but it took a lot of tinkering to get the CSS down to something relatively clean. Great job making something like this accessible to everyone with a handy tool like…

Did you ever make it available as a library?

Its available at the library

Re: Show HN: 3D Book Image CSS Generator

#79
post #36
post #7

For some reason the Width parameter is working weirdly in Firefox on Android. Dragging the slider halfway resizes the book to become larger than the whole screen. Screenshot: https://9gag.com/gag/aLwvLY6 (because I don't have accounts elsewhere)

Wow, uploading screenshot on 9gag! I usually just use the snipping tool and then paste on https://snag.gy

What's wrong with 9gag? It's a YC company to begin with, and works just like Imgur.

Re: Show HN: 3D Book Image CSS Generator

#80
post #7

For some reason the Width parameter is working weirdly in Firefox on Android. Dragging the slider halfway resizes the book to become larger than the whole screen. Screenshot: https://9gag.com/gag/aLwvLY6 (because I don't have accounts elsewhere)

You can use imgur.com without an account - this is often the to-go service to publish images to be shared (stack exchange, ShareX,...)

I'll try that the next time I need it.
Post reply on HN