
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@youyouzone/react-sdf
Advanced tools
A React renderer for pathtracing.
install npm package
npm install @youyouzone/react-sdf
use as a React component
import Page from '@youyouzone/react-sdf';
export const App = () => {
const rawData = [
{ position: [0, 180, 0], size: [100, 0.01, 25], color: [1.0, 0.7, 0.38], emissive: [10, 10, 10] },
{ position: [0, 201, 0], size: [200, 1, 100], color: [0.7, 0.7, 0.7], },
{ position: [-200, 50, 0], size: [1, 150, 100], color: [1, 0, 0] },
{ position: [200, 50, 0], size: [1, 150, 100], color: [0, 1, 0], roughness: 0.1, metallic: 1 },
{ position: [0, 0, -100], size: [200, 200, 1], color: [0, 1, 1], },
{ position: [0, -100, 0], size: [200, 1, 100], color: [0.7, 0.7, 0.7] },
{ position: [-50, -40, 0], size: [30, 60, 30], color: [0.5, 0.3, 0.6] },
]
return <Page
style={{ width: '100%', height: '100vh' }}
>
<Camera
position={[0, 50, 250]}
lookat={[0, 50, 0]}
rotation={0}
fov={50 / 180 * Math.PI}
/>
{rawData.map(({ position, size, color, emissive, roughness, metallic }, i) =>
<box
key={i}
position={position}
size={size}
color={color}
emissive={emissive}
roughness={roughness}
metallic={metallic}
/>
)}
<sphere
position={[50, -45, 0]}
radius={50}
color={[1, 1, 1]}
roughness={0}
specTrans={1}
specular={0.02}
/>
</Page>
}
https://cornell-box.netlify.app
https://disney-principled.netlify.app
https://bvh-example.netlify.app
This project is licensed under
FAQs
A React renderer for path tracing
We found that @youyouzone/react-sdf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.