Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
regl-worldview
Advanced tools
Worldview is a React library for rendering 2D and 3D scenes using regl.
Visit the homepage to see more guides, examples and APIs.
Add regl-worldview to your React project:
npm install --save regl-worldview
If you’re not using a module bundler or package manager we also have a global (“UMD”) build hosted on the unpkg CDN. Simply add the following script tag to the bottom of your HTML file:
<script src="https://unpkg.com/regl-worldview/dist/index.umd.js" />
Then try rendering the basic example:
import React from "react";
import Worldview, { Cubes, Axes } from "regl-worldview";
function BasicExample() {
const markers = [
{
pose: {
orientation: { x: 0, y: 0, z: 0, w: 1 },
position: { x: 0, y: 0, z: 0 },
},
scale: { x: 15, y: 15, z: 15 },
color: { r: 1, g: 0, b: 1, a: 0.9 },
},
];
return (
<Worldview>
<Cubes>{markers}</Cubes>
<Axes />
</Worldview>
);
}
FAQs
A reusable component for rendering 2D and 3D views using regl
The npm package regl-worldview receives a total of 1,570 weekly downloads. As such, regl-worldview popularity was classified as popular.
We found that regl-worldview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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.
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.
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.