I have some three js code in my html and I am converting html to pdf using headless chrome, but the resolution of three js drawing is very poor in the pdf. Is there a way to