Skip to content

Matrix lerp #443

Open
Open

Description

@Hixie

If we had a true Matrix lerp(), then we could do things like support Hero animations regardless of how transformed the hero was (instead of now, where the Hero and the Navigator have to be axis-aligned for it to work).

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 17, 2015
  2. added this to the milestone on Nov 17, 2015
  3. modified the milestones: , on Sep 16, 2016
  4. modified the milestones: , 2: Make Early Adopters happy on Mar 1, 2017
  5. aytunch commented on Oct 11, 2019

    @aytunch

    @Hixie There are nearly all kind of ImplicitlyAnimatedWidgets for all kind of transformations but not one for rotation.

    As you pointed out here: https://stackoverflow.com/a/42681619/874886 transform property does not get animated properly inside of an AnimatedContainer. So do always need to set an explicit AnimationController for a simple rotation animation?

    Also for this specific issue: I wish you could implement the Matrix transformation in that paper since it would make 3d transformations on 2d widgets much easier for us.

  6. dnfield commented on Jan 15, 2020

    @dnfield
    Contributor

    @Hixie - does this bug really belong in vector_math?

  7. removed this from the milestone on Jun 1, 2020
  8. Hixie commented on Feb 4, 2021

    @Hixie
    ContributorAuthor

    https://master-api.flutter.dev/flutter/vector_math/Matrix4/decompose.html might help with this, though it seems to implement S as a scale rather than a symmetric positive definite stretch matrix, and there's no perspective matrix.

  9. added
    P3Issues that are less important to the Flutter project
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: animationAnimation APIsc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions