This Inkscape extension creates stereoscopic 3D images by shifting SVG layers left and right relative to a chosen "window layer".
It can export:
- Left and Right eye views (SVG or PNG)
- A combined side-by-side stereo view
- Download or clone this repository.
- Copy the folder
hello_extensionto your Inkscape extensions directory:- Windows:
%APPDATA%\Inkscape\extensions - macOS:
~/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/ - Linux:
~/.config/inkscape/extensions/
- Windows:
- Restart Inkscape.
- Open your layered SVG file in Inkscape.
- Go to Extensions → 3D → Stereoscopic Layer Shifter.
- Choose:
- The “window layer” (the reference layer that appears at zero depth)
- Depth mode (
max,moderate,conservative) - Export options (SVG / PNG / side-by-side)
- Choose the path where you want to save your results.
- Click Apply.
- Layers in front of the window layer shift right (for left view) and left (for right view).
- Layers behind the window layer shift in the opposite direction.
- The shifts are proportional to depth:
max= strongest separationmoderate= medium separationconservative= subtle depth
- Uses
inkex.Transform()for accurate coordinate translation.
left_view.svg/left_view.pngright_view.svg/right_view.pngstereo_side_by_side_layers.svg/stereo_side_by_side_layers.png