Closed NikitaShvetsovCode closed 1 year ago
This example is outdated. Please refer to the readme for latest usage with the latest version
Oooh sorry... Thanks for your reply!!!) It all worked out, but there was one mistake left...
import { patchShaders } from 'gl-noise/build/glNoise.m';
Could not find a declaration file for module 'gl-noise/build/glNoise.m'. '/Volumes/macos2/sites/gitteam/ServiceCommerceFrontend/node_modules/gl-noise/build/glNoise.m.js' implicitly has an 'any' type.
Try npm install @types/gl-noise
if it exists or add a new declaration (.d.ts) file containing `declare module 'gl-noise/build/glNoise.m'
if i try npm install @types/gl-noise have error too...
Otherwise, it's a great job, I admire your skills
Thanks!!
Yes that’s because glNoise is not a Typescript library. You will have to suppress that error with // @ts-ignore
for now. I’m in the process of rewriting glNoise so look out for that.
Roger that, will definitely follow you in the future, thank you!!!
Cheers! 😊
Paper:
error: Cannot read properties of undefined (reading 'POINTS')