GlossQuote home中文頁面(開啟預設)

GLOSSQUOTE LABS · CSS GEOMETRY

Perspective Projection Explorer

One rectangle. Two distinct origins. Compare precise numbers, a full schematic and a real browser CSS preview.

01 / Set rotations and viewpoint

−60 to 60; at most one decimal place.
−60 to 60; at most one decimal place.
0 to 100; at most one decimal place.
0 to 100; at most one decimal place.

Inputs changed. Generate one coherent complete result.

04 / Every corner in numbers

Numbers are rounded to six decimal places for display; calculations and classifications use unrounded values.

P0–P3
IDoriginal xoriginal yXYZwprojected xprojected yframe

05 / Selectable CSS

Read the two origins

O is the fixed rectangle rotation origin (100,60,0). Q is the independently movable parent perspective origin; distance is fixed at 500px. CSS rotateX(a) rotateY(b) applies Y first, then X.

The rectangle and parent are 200×120px. Projected coordinates are parent-relative, not screen pixels; do not multiply by DPR. All accepted inputs guarantee w>0.766. Eye-plane crossings are not modeled.

The full schematic and AABB are unclipped. The 220×140px native frame displays model window [−10,−10]–[210,130]. Outside corners do not imply the whole face is invisible or the calculation invalid.

Original input.value is retained; single-line controls may strip CR/LF. ASCII edge spaces, plus signs and leading zeros are allowed within 24 raw characters; CSS is canonicalized. Inputs stay in memory: no upload, storage or clipboard API.

Fixed structure: .preview-frame → .perspective-parent → .projected-rectangle. No animation, WebGL, arbitrary CSS or general 3D renderer. Reload/BFCache restores defaults.

CSS Transforms Level2 · 2021 Working Draft