Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 582 Bytes

star-rings.md

File metadata and controls

25 lines (20 loc) · 582 Bytes

star-rings

usage

import { StarRings, useTheme } from 'threejs-weather'
import { Canvas } from 'react-three/fiber'

const RainPage = () => {
  const { bind } = useTheme({ type: 'snow', mode: 'day' })
  return (
    <Canvas
      {...bind()}
    >
      <StarRings />
    </Canvas>
  )
}

props

name description type default
count num of rings(星环数目) number 50