Perspective Grid Generator - Online Drawing Reference
Create 1-point, 2-point, or 3-point perspective grids. Adjust vanishing points and grid spacing. Useful for artists and architects.
UD5 Toolkit
CSS 3D & Houdini Paint API — Interactive CSS Art Generator
transform-style: preserve-3d and the perspective property to create a realistic three-dimensional cube. Each of the six faces is an HTML element positioned in 3D space using translateZ() and rotateX/Y() transforms. The perspective property on the parent container controls the depth effect — smaller values create a more dramatic foreshortening, while larger values produce a flatter, more orthographic look. This technique requires no JavaScript for rendering and performs excellently on modern browsers.
@supports(background: paint(id)).
.scene-container and .cube-wrapper with all six .cube-face elements).perspective value and transform properties..js file with the paint worklet code (use registerPaint()), then load it via CSS.paintWorklet.addModule('your-worklet.js').background-image: paint(yourPattern) in your CSS. Use CSS custom properties (like --dot-color) to parameterize the pattern dynamically.
perspective CSS property do?
perspective property defines the distance between the viewer and the z=0 plane in a 3D scene. A smaller value (e.g., 300px) places the viewer closer, creating a more dramatic, wide-angle effect with pronounced foreshortening. A larger value (e.g., 1500px) moves the viewer farther away, producing a subtler, more orthographic projection. This tool lets you experiment with values from 200px to 2000px to see the difference in real time. The perspective is applied to the parent container and affects all child elements with 3D transforms.
transform-style: preserve-3d?
transform-style: flat). Setting transform-style: preserve-3d tells the browser to maintain the 3D spatial relationships between child elements. This is essential for constructing a cube: without it, all six faces would collapse into a single flat plane, destroying the 3D illusion. The property must be set on the direct parent of the transformed children (the .cube-wrapper in our case).
@keyframes animation that rotates the cube continuously. For example: @keyframes spin { from { transform: rotateX(-25deg) rotateY(0deg); } to { transform: rotateX(-25deg) rotateY(360deg); } }. Apply it with animation: spin 8s linear infinite; on the .cube-wrapper. This tool's auto-rotate feature uses requestAnimationFrame for smooth, controllable animation, but CSS keyframes are a great lightweight alternative for simple continuous rotations.
will-change: transform sparingly — only on elements that will animate frequently; (2) Avoid excessively large cube faces with complex Houdini paint patterns on low-end devices; (3) backface-visibility: hidden can improve performance if you don't need to see the back of faces; (4) Limit the number of simultaneously animating 3D elements; (5) Profile with Chrome DevTools' Performance panel if you notice jank. For most use cases, a single 3D cube with Houdini-decorated faces runs smoothly at 60fps.
Create 1-point, 2-point, or 3-point perspective grids. Adjust vanishing points and grid spacing. Useful for artists and architects.
Explore the RGB color space as a rotatable 3D cube. Pick a color directly from the volume. Drag to rotate. Canvas 3D.
Rotate and explore the RGB color space as a 3D cube. Pick colors directly from the volume. Interactive Three.js.
Turn any photo into a greyscale pencil sketch. Adjust detail level and darkness. Download your artwork. Local canvas filter.
Apply a realistic oil painting texture to your photo. Adjust brush size and roughness. Brush stroke simulation.
Select a simple 3D shape (cube, pyramid, cylinder) and generate a printable flat net with fold tabs. Great for DIY crafts and math class.
Upload a cover image and see it wrapped on a 3D book with reflection. Download preview. Local.
Set perspective and rotate children in 3D space. See the effect of perspective‑origin. Copy the CSS. Learn 3D transforms.
Render the classic Stanford Bunny with a basic WebGPU pipeline. Rotate and zoom. Check if your browser supports WebGPU.
Write a paint worklet in JavaScript and see it used as a CSS background instantly. Experiment with Houdini. Local.
Rotate and view the 3D shapes of s, p, d, and f orbitals. Great for teaching quantum mechanics. WebGL‑based.
Roll virtual dice with animated 3D spins. Choose any number and type. See total and individual results. Fun for games.
Move the vanishing point of a 3D scene. Drag to set perspective‑origin and see the scene shift. Copy CSS.
Nest elements in 3D space with preserve‑3d vs flat. Rotate the parent and see children behave differently.
Build a 3D card flip effect and toggle backface‑visibility. See the hidden back face. Copy the complete CSS.
Register a custom CSS property with syntax, initial value, and inherits. Animate colors and numbers that couldn’t before.
Register and apply a custom paint worklet to draw a background pattern dynamically. Write the paint function in the browser.
Manipulate CSS values as typed objects using attributeStyleMap. Convert between CSSUnitValue, CSSMathSum, etc. Futuristic CSS‑in‑JS.
Rotate a 3D cube on your phone using the Gyroscope API. See angular velocity around each axis. Amazing sensor demo.
Turn your phone into a 3D compass using the AbsoluteOrientationSensor API. See quaternion and Euler angles in real time.
Build a multi‑layer text‑shadow to simulate 3D extruded text. Control depth, color, and direction. Copy long shadow CSS.
Apply an emboss filter to your photo. Choose direction and depth. Gives a 3D carved stone look. Pure canvas.
Build a 3D rotating cube using pure CSS. Set dimensions, colors, and animation speed. Copy the HTML and CSS.
Create a 3D extruded text effect using multiple text‑shadows. Adjust depth, color, and perspective. Ready‑to‑use CSS.
Interlace two images into a striped pattern for lenticular lens printing. Preview with simulated tilt. DIY fun.
Shift color channels to create a 3D anaglyph image. Grab your red‑cyan glasses! Can use different offset.
Draw a 3D box or room interior by dragging vanishing points. Great for learning perspective drawing. Export as image.
Browse a beautifully designed periodic table with electron shell visualization and key facts. Click any element to learn more. Offline ready.