Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
driver-webgl
Advanced tools
WebGL driver for Rax.
Components and APIs are based on three.js
design and implementation. Use markup language and declarative writing to simplify development.
s
$ npm install --save driver-webgl
import {createElement, Component, render} from 'rax';
import WebGLDriver from 'driver-webgl';
class HelloWorld extends Component {
constructor(props, context) {
super(props, context);
this.state = {
cubeRotation: [0, 0, 0]
};
this.width = window.innerWidth;
this.height = window.innerHeight;
this.cameraPosition = [0, 0, 5];
}
onFrame = () => {
this.setState({
cubeRotation: [
this.state.cubeRotation[0] + 0.01,
this.state.cubeRotation[1] + 0.01,
0
]
});
}
render() {
return (
<scene
width={this.width}
height={this.height}
onFrame={this.onFrame}
>
<perspective-camera
fov={75}
aspect={this.width / this.height}
near={0.1}
far={1000}
position={this.cameraPosition}
/>
<mesh
rotation={this.state.cubeRotation}
>
<box-geometry
width={1}
height={1}
depth={1}
/>
<mesh-basic-material
color={0x00ff00}
/>
</mesh>
</scene>
);
}
}
render(<HelloWorld />, document.body, {
driver: WebGLDriver
});
FAQs
WebGL driver for Rax.
The npm package driver-webgl receives a total of 8 weekly downloads. As such, driver-webgl popularity was classified as not popular.
We found that driver-webgl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.