marcel,
@marcel@mastodon.social avatar

Is this stupid or genius?

nutsmuggler,

@marcel I do love a skeuomorphic book shelf, I have one in an app of mine. Really crazy to implement in SwiftUI but very rewarding. I also did some book opening animation, which was, ahem, interesting 😀

marcel,
@marcel@mastodon.social avatar

Dynamic book size based on actual page count ✅

duncandesi9n,
@duncandesi9n@mastodon.design avatar

@marcel very cool. The book ribbons might look good with a little triangular cutout - if that makes sense.

marcel, (edited )
@marcel@mastodon.social avatar

@duncandesi9n That's the plan! They're just placeholders at the moment, but I'll try to have them in the same color and quantity as the saved quotes per book. :)

adam,

@marcel Ohh, that's cool! It conveys a lot of information without much distraction.

marcel,
@marcel@mastodon.social avatar

Imagine some real programmer having to sit through me asking for a dozen "let's change this number from 3 to 4" changes to arrive at something like this.

image/png

marcel,
@marcel@mastodon.social avatar

I'm bringing 1px highlight lines back, don't try to stop me.

ctietze,
@ctietze@mastodon.social avatar

@marcel I love the look!

Ancro,

@marcel It looks awesome. This is something I would probably fiddle with for hours even though barely anyone would see the difference.
Maybe a smidge more rounding in the lower left corner?

marcel,
@marcel@mastodon.social avatar

@Ancro You're right!

ben,

@marcel this is incredible - looks so good!

kristofferjohansson,

@marcel it’s nice to be able to build it yourself 🙂 It looks great!

DanielBerezhnoy,

@marcel nice 😁

appfrosch,
@appfrosch@social.dev-wiki.de avatar

@marcel 👌

tt,

@marcel Looks cool, would probably look better without the rounded corners.

daniel,
@daniel@social.telemetrydeck.com avatar

@marcel bring back skeumorphism 😍

marcel,
@marcel@mastodon.social avatar

@daniel inb4 ̶l̶e̶a̶t̶h̶e̶r̶ fine woven textures!

fahrni,
@fahrni@curmudgeon.cafe avatar

@marcel Yes

martind,
@martind@mastodon.online avatar

@marcel looks good. Do you have an example with books of various number of pages?

marcel,
@marcel@mastodon.social avatar

@martind It's not dynamic yet!

martind,
@martind@mastodon.online avatar

@marcel In your sample SwiftUI, I thought you were generating the spline height based on the number of pages. Did I decoded that wrong?

marcel,
@marcel@mastodon.social avatar

@martind No, that's what's happening. The number is currently hardcoded, though!

andhash39,

@marcel the color matching for the back cover is genius!

It’s a cooler way to visualise your books than the Apple Books spine shadow, which I notice and find vaguely annoying every time:

marcel,
@marcel@mastodon.social avatar

@andhash39 Oh, I kind of like their solution better, to be honest. 😀

andhash39,

@marcel haha, I’m sure they won’t mind if you take it! For me I want to see my covers, and the shadow reads like a blemish

michaellatman,

@marcel This is insanely cool, thanks for showing this

ben,

@marcel genius! Wish I’d done this for my personal book app 😂

marcel,
@marcel@mastodon.social avatar

@ben Feel free to steal this. Just make sure to write better code than mine. :D

ben,

@marcel haha that’s a promise I absolutely cannot keep

teomatteo89,
@teomatteo89@mastodon.social avatar

@marcel dayum, looks great!

marcel,
@marcel@mastodon.social avatar

Three fantastic books and one badly written fantasy story about a wizard in the sky.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • SwiftUI
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines