Skip to content
On this page

Starfield

The starfield type doe's not have an options object. passing the options object will not work.

Example of starfield canvas with react

jsx
import { useState } from 'react'
import CanvasParty from '@canvas-party/react'

function reactApp() {
  const [canvasType, setCanvasType] = useState('starfield')

  return <CanvasParty type={canvasType} />
}

export default reactApp

Result