Prism 3D
Renders a smooth-blended 3D sculpture (prism, torus, or orb) with orbiting satellites, 3-point studio lighting, ambient occlusion, and Fresnel glow mixed cleanly using Additive Color Blending (ACD).
Live Playground
3D Raymarched SDF Move to Orbit • Hold to Zoom
Shape
Depth 1.05
Gloss 1.20
Distortion 0.35
Where to Use It
AI Engine & 3D Product Heroes
Replace heavy 2 MB GLB/Three.js bundles with a lightweight raymarched 3D prism, torus, or orb sculpture in one shader pass.
Interactive Tech & Cloud Roadmaps
Hot-swap shape between 'prism', 'torus', and 'orb' as visitors scroll or toggle platform tabs.
Usage (Copy & Paste)
<section
data-fx="prism-3d"
data-fx-shape="prism"
data-fx-depth="1.05"
data-fx-gloss="1.2"
data-fx-distortion="0.35"
data-fx-quality="high"
style="min-height: 60vh;"
>
<div style="position: relative; z-index: 1;">3D Hero</div>
</section>
<script src="https://unpkg.com/@votax572002/fluxfx/dist/fluxfx.min.js"></script> 'use client';
import { Prism3D } from '@votax572002/fluxfx/react';
export function PrismHero() {
return (
<Prism3D shape="torus" depth={1.1} gloss={1.2} distortion={0.35} quality="high" style={{ minHeight: '60vh' }}>
<h1>3D Sculpture</h1>
</Prism3D>
);
} import { FluxFX } from '@votax572002/fluxfx';
FluxFX.apply(el, 'prism-3d', {
shape: 'prism', // 'prism' | 'torus' | 'orb'
depth: 1.05,
gloss: 1.2,
distortion: 0.35,
quality: 'high',
}); How It Works (Flowchart)
Props & Attributes
| HTML Attribute | JS / React Prop | Type | Default | Description |
|---|---|---|---|---|
data-fx-shape | shape | 'prism' | 'torus' | 'orb' | 'prism' | 3D SDF sculpture geometry preset. |
data-fx-depth | depth | number | 1.0 | Camera zoom / 3D scale (0.45–2.2). |
data-fx-gloss | gloss | number | 1.0 | Specular & iridescent highlight strength. |
data-fx-distortion | distortion | number | 0.35 | 3D twist and surface displacement. |
data-fx-quality | quality | 'low' | 'medium' | 'high' | 'medium' | Raymarch steps (32 / 48 / 72) & AO taps (2 / 3 / 4). |