pharo-graphics / Bloc

Low-level UI infrastructure & framework for Pharo
MIT License
80 stars 40 forks source link

Support 3d transformations? #283

Open tinchodias opened 1 year ago

tinchodias commented 1 year ago

3D transformations are provided by API but not really supported (Alexandrie canvas now, but happened with Sparta too)

Reproduce an error with:

aSpace := BlSpace new.

a := BlElement new
        background: Color blue;
        transformDo: [ :builder |
            builder rotateBy: 0.5 around: BlVector xAxis ];
        yourself.
aSpace root addChild: a.

aSpace show
tinchodias commented 1 year ago

I placed it as a question, in the subject, because we may decide this is not supported for the moment and remove code and API.

Reference in CSS spec: https://drafts.csswg.org/css-transforms-2/#3d-transform-rendering