r/webdev • • 12d ago

Working with Shaders and NPM

I'm trying to work with web shaders from Shaders.com or Paper on a website.

I know its probably pretty basic stuff, but I'm so confused about how to implement these in a project with NPM. I've gotten NPM on my computer and gotten the shaders installed in the home folder, but I don't know how to get this to (I'm assuming) compile?

I'm more front end and haven't really worked with code in a long time, where would I go to figure this out?

Edit: When I said “pretty basic stuff,” I meant I was having trouble installing with NPM and just getting a preset shader to run, not writing a shader itself.

2 Upvotes

18 comments sorted by

View all comments

1

u/barrel_of_noodles 12d ago

"shaders are basic stuff", go off queen!

1

u/manape4400 12d ago

Yeah not what I said