vanta icon indicating copy to clipboard operation
vanta copied to clipboard

Draw vanta canvas to another canvas?

Open azmartone opened this issue 3 years ago • 0 comments

I'm trying to draw the vanta canvas to another canvas, but the result is transparent.

ctx.drawImage(document.querySelector('.vanta-canvas'), 0, 0 )

Does the vanta library use preserveDrawingBuffer: false? If so, is there way I can set that option to true?

azmartone avatar Jun 17 '21 05:06 azmartone