You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I noticed, that the transformation order is ignored and always defaulting to the order translate-rotate-scale. But transformations are not commutative, leading to different results depending on order, so they should not be sorted.
Example:
module Main exposing (..)
import Playground exposing (..)
main = animation view
view t = [ball t, ball2 t, ball3 t]
ball t = circle green 6 |> rotate (spin 3 t) |> moveRight 40
ball2 t = circle red 6 |> moveRight 40 |> rotate (spin 3 t)
ball3 t = group [circle blue 6 |> moveRight 40] |> rotate (spin 3 t)
-- Ball 2 is supposed to work like ball 3,
-- but is behaving like ball 1, covering the same place.
-- Ball 3 is a workaround using groups.
The text was updated successfully, but these errors were encountered:
Hi! I noticed, that the transformation order is ignored and always defaulting to the order translate-rotate-scale. But transformations are not commutative, leading to different results depending on order, so they should not be sorted.
Example:
The text was updated successfully, but these errors were encountered: