Is there a code sample available that illustrates how to use a 2D transform (such as rotate and scale) with a JPG in a react-native application, perhaps with the code in the tutorial as a starting point?

If possible, it would be helpful to see code for two scenarios:
`1) automatically apply a transform when the app is launched
2) apply a transform after different types of user gestures`

At some point in the future it would be interesting to see how to create 3D transforms and animation effects.