While trying to break down the tutorial found at https://tympanus.net/codrops/2019/03/26/exploding-3d-objects-with-three-js/ and downloading the source code, I've encountered some issues. The explanations provided are not detailed enough. When I run the project locally without making any changes, I am bombarded with cross-origin errors in the minified code:
XMLHttpRequest at 'file:///Users/me/Documents/Three%20JS/examples/ExplodingObjects-master/models/heart-high.glb' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Similar issues arise with local .jpg files. It's baffling why a local file is causing a cross-origin problem. How can I resolve this so I can run and understand the project locally without the minified code?