I want to make THREE.Sprite() with a ZIM canvas texture
but it have problem.
var circle = new Circle("#ff0", 250);
var texture = new THREE.CanvasTexture(circle.cacheCanvas);
const spriteMaterial = new THREE.SpriteMaterial({ map: texture });
const sprite = new THREE.Sprite(spriteMaterial);
scene.add(sprite);
I think you will need to cache() the circle before you can get a cacheCanvas. Also make sure your camera is pulled back so you can see something, etc. I have not used a sprite before in three.js - it should work...