import { Canvas, Group, LinearGradient, Fill, vec, Rect, interpolate, Mask, Shadow, Turbulence, } from '@shopify/react-native-skia'; import React from 'react'; import {useWindowDimensions} from 'react-native'; const length = 9; const STRIPES = new Array(length).fill(0).map((_, i) => i); export const Wallpaper = () => { const {height, width: wWidth} = useWindowDimensions(); const width = wWidth / length; const origin = vec(width / 2, height / 2); return ( {STRIPES.map(i => ( }> ))} ); };