src/components/text.jsx @@ -1,7 +1,6 @@ import * as THREE from 'three'; import { useEffect, useState } from 'react'; function generateSprite(text, color, fontSize = 50) { const canvas = document.createElement('canvas'); canvas.width = 300;