Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This is a growing collection of useful helpers and abstractions for react-three-fiber, saving you some boilerplate.
yarn add drei
import { ... } from 'drei'
<PerspectiveCamera makeDefault=true />
, can take children (which are then moved w/ the cam)<PerspectiveCamera>
<mesh />
</PerspectiveCamera>
All controls have damping enabled by default, they manage their own updates, remove themselves on unmount, are compatible with the invalidateFrameloop
canvas-flag.
<OrbitControls enableDamping=true />
| sandbox<MapControls enableDamping=true />
| sandbox<TrackballControls />
<TransformControls />
| sandbox<TransformControls>
<mesh />
</TransformControls>
<Detailed />
, a wrapper around THREE.LOD (Level of detail) | sandbox<Detailed distances={[0, 10, 20]}>
<mesh />
<mesh />
<mesh />
</Detailed>
<PositionalAudio distance=1 loop=true/>
, a wrapper around THREE.PositionalAudio | sandbox *suspense<mesh>
<PositionalAudo url="/song.mp3" />
</mesh>
draco(url = "/draco-gtltf/")
, adds Draco extension to GLTFLoader | sandboxuseLoader(GLTFLoader, url, draco())
<StandardEffects ao=true|{...} bloom=true|{...} />
, adds AO, bloom and SMAA *suspenseUsing the postprocessing library. Ambient-occlusion-props, Bloom-props
<StandardEffects />
If you find yourself repeating set-up code often and if it's generic enough, add it here, everyone benefits!
FAQs
useful add-ons for react-three-fiber
The npm package drei receives a total of 1,454 weekly downloads. As such, drei popularity was classified as popular.
We found that drei demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.