W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-transforms-2] Keywords for `transform` (#944)

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Tue, 30 Apr 2019 07:50:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-487851512-1556610658-sysbot+gh@w3.org>
Oh, I failed to see and thus consider `perspective`, but it sounds more like a real 3D feature, i.e. produce this: 


You are right that the transforms would not be enough to make a proper 3D object (other than cuboids) out of 2D tiles. The _blue house_ graphics from Wikipedia are intended to visualize the differences of the various methods, not to suggest this was actually possible to achieve. 

I was only (or should have only be) thinking about 2D transformations of 2D boxes into a 3D space projected onto the 2D surface. My actual use case was an transformed CSS Grid that should align with isometric bitmaps. I think that would be in scope of `transform` because the projections from three (or, with transparency, six) perpendicular views are indeed achievable with its level 1 capabilities – some may also require `translate` and proper `transform-origin`.

Like I said, I have not yet thought this through completely. It could well belong elsewhere. Possibly, projections belong in two places: 

1. 2D to 2D `transform`
2. 3D to 2D `projection` or `perspective`

GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/944#issuecomment-487851512 using your GitHub account
Received on Tuesday, 30 April 2019 07:51:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC