NexoreUI
2.0
InstallationComponentsIconsTemplatesNewGeneratorBetaNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesGeneratorBetaNexore MakeCreate Project
InstallationComponents OverviewIcons
Components (72)
ButtonAction ButtonsInputSpecialized InputsForm ControlsCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerceMedia & Audio
Dialog (Modal)Overlays & DrawersAlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial & ChatTheme Toggle
Aurora Border CardAurora Search PillAI Prompt InputCommand PaletteCode Block
Physics Showcase3D Product CardsLive 3D ObjectSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
ComponentsCamera Mirror

Camera Mirror

Webcam or procedural raster canvas projecting luminance into halftone or ASCII cells.

PreviousSwipe Deck
NextScroll Reveal
ResourcesFull TemplatesProProject StudioSource on GitHub

Camera Mirror

Local device camera or procedural raster visualizer projecting real-time luminance into geometric circles, structured square matrices, or monospace ASCII glyphs.

Interactive Stage

Click "Use camera" or observe simulation blobs
Controls
Raster ModeDots (Circles)
Cell Size12px
Contrast1.40
Element Scale1.00
Trail Persistence0.35

Installation & Usage

component.tsx
1import { CameraMirror } from "nexoreui";
2
3export function VideoRasterDemo() {
4 return (
5 <div className="relative h-[440px] w-full overflow-hidden rounded-2xl">
6 <CameraMirror
7 cell={10}
8 mode={0}
9 contrast={1.5}
10 dot={1}
11 bg="#08080b"
12 c1="#f2efe8"
13 className="h-full w-full"
14 />
15 </div>
16 );
17}

API Reference

API Reference (Props)

PropTypeDefaultDescription
cellnumber12Raster cell resolution in pixels.
modenumber0Display raster mode (0: circles, 1: square grid, 2: monospace ASCII text).
contrastnumber1.4Luminance contrast amplification factor.
brightnumber0Brightness exposure offset (-0.4 to 0.4).
invnumber0Color inversion toggle (0 normal, 1 inverted).
dotnumber1Raster element scale multiplier.
trailnumber0.35Camera feed frame motion trail persistence.
colnumber0Full video color preservation ratio (0 monochrome, 1 full color).
c1string"#f2efe8"Primary raster element ink tone.
bgstring"#08080b"Stage backdrop fill.
pausedbooleanfalsePause animation loop manually.