It really does make them feel that much more collectible. I don't know much about NFTs, but this kind of pseudo-3D experience ought to be standard for browsing digital collectible art.<p>I also wonder how this would hold up for viewing artworks on a display.
Maybe a website or browser extension that gives you a similar experience for any image you come across could be useful.
Took me a while to REALLY realize this is all CSS no WebGL. You just blew my mind... and ruined my weekend: I'm not leaving home untilI learn this sort of wizardry!
It’s also really refreshing to see a project done for the love, the passion, the fun.<p>There was a question the other day about how come people, especially programmers, don’t have as much hobbies or frivolous projects anymore.<p>It feels like many projects nowadays are done with some ulterior motive or motivation such as buffing up your resume, ego, credibility, employment potential, or startup funding. This affects the priorities and level of polish you put into certain things
This is really cool but I noticed something weird or a bug.<p>As I do on HN went to the next tab, and then the next tab, and finally when i started closing tabs landed back on this page. All the cards were spinning very crazy.<p>Is this some delay between events for css or js thats adding maxV?
Looks great, I'm always amazed how easy it is to do complicated graphics using CSS. It reminds me how outdated my OpenGL CompSci college course felt, drawing triangles by defining each point coordinates.. I'm thankful I don't have to do that nowadays.<p>A gyroscope-based parallax effect would complement this well, like the one I tried here: <a href="https://twitter.com/alinp32/status/1558855422131507201" rel="nofollow">https://twitter.com/alinp32/status/1558855422131507201</a>
This is beautiful. Made me realize one of the biggest things that the Hearthstone online TCG got right. The overall handling of the cards, especially when opening packs, is very well done and almost feel tactile. Many online TCGs just take flat pictures of cards and pretend to be done.
I thought I was doing something wrong or that the cards were broken in Firefox for Android.<p>Turns out the cards use the accelerometer to spin on mobile! That's a pretty nice trick, I love these animations!
Very cool, but it does not look great on Safari. The back of the card occludes the front of the card at some angles and aggressively flickers between the two images. But when it's working it looks great! Would make a good module in a card game engine.
wow, these look amazing.<p>The way the images of the cards are compressed is very good, they look absolutely crisp and load super fast. In fact, so crisp that I've wondered whether they aren't images at all but recreations of the cards in CSS as well.
Only vaguely related, but the site (<a href="https://pokemontcg.io/" rel="nofollow">https://pokemontcg.io/</a>) that the high resolution card images are from is very big and fancy for something that is:<p>> This website is not produced, endorsed, supported, or affiliated with Nintendo or The Pokémon Company.<p>...which surprises me, because in general Nintendo are Not Amused by people making money off of their IP... but, it's been around for a while, so I guess they don't care?
Linear use a similar effect on their Customers page when you hover over their customer's cards: <a href="https://linear.app/customers" rel="nofollow">https://linear.app/customers</a>
Something like this would look amazing on Scryfall or Gatherer. I'm not sure how you'd go about selling this to them, but I think the Magic: the Gathering world would be better off for it.
I just noticed that on mobile devices the gyroscope can be used to move the cards.
Now I wonder if the card could actually stay fixed in place, and just make the holo effects move. That would probably look more realistic and impressive, as if the card was actually on
the screen.
I'm a little surprised that Ancient Mew, one of the original uniquely holographic cards, isn't represented here. It was very unlike any other card seen when it was handed out at the first movie premiere.
Panini presented the NFTs from their Megacracks 2022-2023 card collection in a similar way[0], aesthetically, but using video files (MP4) which makes it much less interesting (and even so, the visual effects in those are inferior to this CSS implementation). The fact that this CSS version does not work properly in Safari in unfortunate, though.<p>[0]: <a href="https://paninimegacracksnft.com/token/wnzq" rel="nofollow">https://paninimegacracksnft.com/token/wnzq</a>
The github repo[0] has no license - I didn't realize github allowed that.<p>0 - <a href="https://github.com/simeydotme/pokemon-cards-css/blob/main/static/cards.css" rel="nofollow">https://github.com/simeydotme/pokemon-cards-css/blob/main/st...</a>
I stopped playing before all the expansions (there's a secret gold rare? is best!) and it's really cool to be able to 'handle' a card to see the cartwheel effect.<p>That may date me a bit, but that also means there's a place in my heart for pure css.
You might have some success selling this "technology" to wedding invitation printers and similar websites. They always have trouble demonstrating the various paper options / partial glossy / metalic cut out options
Does anyone know how the foils work on physical cards?<p>I know it's some type of diffraction grading but I have no idea how the foil is made, where you can buy it, etc. I'm sure there's a nice in depth post somewhere explaining it all.
I spent a bit of time doing this effect in CSS, though not to this degree. Quickly abandoned it when I couldn't find a way around the glitchy safari and sometimes chrome implementations of this effect.
This just makes me realize how long it's been since I played Pokemon TCG (the original Base Set). This is amazing, great work! Wish there were another game like the GB Pokemon TCG and TCG2 games.
Why are the coolest web demos always using Pokemon? Anyone remember the pokedex.org html5 progressive web app? (Sadly doesn't seem to work properly for me anymore)
my first reaction to this was "cmon, wow, y'all, we need to stop, this is too good". And then immediately after my second reaction was "we need to bake this into ALL the games!" :)