Mikael Sand

Results 142 comments of Mikael Sand

So the structure would be something like this: ```jsx some content goes here ``` Or, equivalently ```jsx some content goes here ```

I assume you're familiar with these, but just in case you want a refresher (they're also in the css / svg specs), here's the equivalent matrices to the primitive transforms:...

Also, the calculation for the rotation is missing there, so something like this: ```js const initialAngle = Math.atan2(initial_y1 - initial_y2, initial_x1 - initial_x2); const rotate = Math.atan2(y1 - y2, x1...

Also, maybe these two can be useful for learning more about react-native transforms: https://snack.expo.io/@msand/new-instagram-stories https://snack.expo.io/@msand/rotate-cube The instagram stories one has three alternative implementations, Stories2 requires a fork of react-native-reanimated I...

Also, Stories1 in new-instagram-stories has a source code parameter / constant called "alt" with a bit different transformation

The error comes from here: https://github.com/facebook/react-native/blob/0b9ea60b4fee8cacc36e7160e31b91fc114dbc0d/Libraries/StyleSheet/processTransform.js#L172-L182 There's some useful helpers in that file as well: https://github.com/facebook/react-native/blob/0b9ea60b4fee8cacc36e7160e31b91fc114dbc0d/Libraries/StyleSheet/processTransform.js#L19-L114 So, to use the normal react-native transform style property (with a list of transforms...

Oh, that's quite possible, not sure why, would have to set breakpoint in both the javascript, java and objective-c code of react-native and react-native-svg to double check. Might be that...

With the tailor-made module, I'm thinking it wouldn't depend on anything but react-native (at most react-native-svg as well, i.e. no reanimated, no react-native-gesture-handler), and would be a single View, accepting...

It's mainly due to the different processing modes available in the browser, and the different security tradeoffs it has. https://www.w3.org/TR/SVG2/conform.html#examples People are likely not to understand the full implications of...

Many solutions with different tradeoffs, thus no pre-prepared solution.