UNPKG

r3f-particle-system

Version:

A declarative particle system for React Three Fiber. It uses an FBO Simulation to provide incremental updates to particles, allowing for an intuitive API with use of forces. **Note**: This package is experimental and may introduce breaking changes in futu

60 lines (59 loc) 1.32 kB
{ "name": "r3f-particle-system", "version": "1.0.3", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "peerDependencies": { "@react-three/drei": "^9.101.0", "@react-three/fiber": "^8.15.19", "react": "^18", "three": "^0.170.0" }, "scripts": { "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps", "build": "npm run build:types && npm run build:js", "postbuild": "node updateImports.js" }, "repository": { "type": "git", "url": "git@github.com:sampstrong/r3f-particle-system.git" }, "author": "Sam Strong", "license": "MIT", "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.0", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "ts-node": "^10.9.2", "typescript": "^5.7.2" }, "files": [ "dist" ], "keywords": [ "react", "three.js", "r3f", "particle", "system", "particles", "three-fiber", "react-three-fiber", "webgl", "simulation", "gpu", "emitter", "forces", "fbo" ] }