three.js 화면을 gif 녹화하기

MoGL3D ㅣ 2024. 1. 3. 15:28

https://three-export-gif.vercel.app/

 

Github: https://github.com/webdoli/threeExportGif/tree/main

 

 

See the Pen three.js + ccapture.js by hub cg (@hub-cg) on CodePen.

 

 

*주의점

gif_render_scene.js에서 'workersPath'값은 gif.workers.js파일이 있는 폴더로 경로 변경

 
  new CCapture({
        format: 'gif',
        workersPath: 'js/lib/',
        display: true,
  });