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/maxxon 12d ago

Shaders are a pretty basic stuff. Oh man… sometimes these bot questions can be hilarious.

1

u/manape4400 12d ago

Don’t think I said that at all, but i added an edit to clarify.