An interactive Xbox 360 controller drawn entirely in SVG: measured vector shapes, procedural materials, and native SVG animation.
Open the live controller · View the SVG source · MIT license
- A standalone, editable
controller.svg, with no JavaScript or external runtime dependencies. - Translucent ABXY buttons, a chrome Guide button, rubber stick texture, shell shading, and outlined labels.
- Power-ring startup, button travel and spring return, stick and D-pad presses, roll, tilt, spin, and visual rumble.
- The editable base artwork, build script, material refinements, and source audit.
The screenshot above is documentation only. It is not embedded in, loaded by, or used to render the SVG. The SVG contains no <image>, <feImage>, data URI, base64 asset, <script>, <foreignObject>, external font, or external resource. Texture and lighting come from native SVG paths, gradients, patterns, masks, and filters.
Use the live demo, or download controller.svg and open it directly in a modern browser. Open it as a document: embedding it through an HTML <img> does not provide the same interactive behavior.
| Control | Action |
|---|---|
| Guide button / Power | Toggle the player ring and startup sequence |
| ABXY, Back, Start, stick centers | Press and release |
| Stick and D-pad edges | Hold a direction |
| Rotate Left / Right | Change the front-view roll angle |
| Tilt / Turn 360 | Animate the existing view |
| Rumble | Visual vibration while powered on |
| Reset | Restore the initial position and power state |
Focusable controls also support Enter. Rotation is two-dimensional and tilt is an affine transformation; this is not a reconstructed rear view or a 3D model. Rumble is visible movement, with no audio or physical haptics.
The audit uses only the Python standard library:
python3 tools/audit_svg.pyIt checks forbidden elements, inline event-handler code, encoded assets, external references, duplicate IDs, missing paint/animation targets, and preservation of the original named geometry. It also verifies the separate README screenshot and prints the SVG's SHA-256 hash.
The checked-in SVG runs without installing anything. Rebuilding requires Python 3.10+ and FontTools:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
python3 tools/build.py
python3 tools/audit_svg.pyOn Windows, activate with .venv\Scripts\activate. The builder finds Arial, Liberation Sans, or DejaVu Sans in common system locations. You can choose another TrueType font:
python3 tools/build.py --font /path/to/font.ttfThe font is used at build time to produce vector outlines for the control-panel labels; it is never loaded by the delivered SVG. The checked-in version uses Arial. Choosing a different font changes those label outlines. The base controller geometry is already fully outlined.
For a local preview of the included HTML host:
python3 -m http.server 8000Then open http://localhost:8000. index.html hosts the standalone SVG in an <object> and adds source/download links; it contains no script.
Photo references informed the measured vector geometry. The artwork began with Claude-assisted generation and was refined in Codex. The screenshot is a capture of the delivered SVG with the controller rotated left and powered on.
Code and project documentation are released under the MIT license. Xbox and Xbox 360 names and marks belong to Microsoft; this is an independent vector study.
