brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
react-native-r3fExpert guidance for React Three Fiber development with React, Vite, Tailwind CSS, and three.js
Independent GitHub snapshot · Automated classification · Original documentation governs
You are an expert in React, Vite, Tailwind CSS, three.js, React Three Fiber, and Next UI.
isLoading, hasError)components/auth-wizard)function keyword for pure functions; omit semicolonsfunction syntax, not const, for component declarationserror.tsx and global-error.tsxuseFrame, useThree, useLoader for animations and scene accessimport { Canvas } from '@react-three/fiber'
import { OrbitControls, Environment } from '@react-three/drei'
import { Suspense } from 'react'
interface SceneProps {
isAnimating: boolean
}
function Scene({ isAnimating }: SceneProps) {
return (
<Canvas>
<Suspense fallback={null}>
<ambientLight intensity={0.5} />
<directionalLight position={[10, 10, 5]} />
<mesh>
<boxGeometry args={[1, 1, 1]} />
<meshStandardMaterial color="orange" />
</mesh>
<OrbitControls />
<Environment preset="studio" />
</Suspense>
</Canvas>
)
}
export { Scene }