Skip to content

Works with

m4bwav edited this page Nov 14, 2026 · 3 revisions

threewright works on its own. These plugins either call it or are called by it. For each one, this page covers what passes between them, an example, and when the pair is worth having.

polywright

polywright: polywright makes and checks the models (GLB with meshopt or Draco, KTX2 textures, real size) for its web-threejs target. threewright loads them, budgets draw calls and ships the page.

Handoff. polywright's asset contract lists a three.js page (threewright) as target web-threejs. It delivers GLB with meshopt or Draco, KTX2 textures and real-world size. threewright's tw glb counts draw calls per node and flags anything over budget. Flipped faces show as holes, and polywright counts and fixes them.

Example. A product viewer: polywright cleans and compresses the scan, threewright loads it, tw glb reports 22 draw calls, and the page passes its perf check.

Use both when the page shows a real model. Mesh problems are fixed in the mesh tool, not worked around in the page.

sfxwright

sfxwright: threewright-games hands its game events to sfxwright, finishes with --dest web, and reads sounds.json for files, randomize values and licences to credit.

Handoff. threewright-games lists the events (jump, hit, pickup). sfxwright makes, varies and checks the sounds for the web and writes sounds.json, which threewright wires into the page.

Example. A browser arcade game gets six hit variations with randomised pitch, all loudness-checked for web, with credits in the build.

Use both when a three.js game needs sound you can legally ship.

askwright

askwright: Look-and-feel calls (camera, lighting, material) go on an askwright page with screenshots side by side.

Handoff. threewright renders screenshots of the variants, and askwright asks which one with a recommended pick and saves the answer.

Example. Three lighting setups for a scene go out as one side-by-side question, and the next session builds from the chosen one.

Use both when the choice is about taste, not about a budget the checks can settle.

fractalwright

fractalwright: fractalwright's fractal fields, distance-estimated 3D fractals and shaders are shown in three.js scenes built with threewright.

Clone this wiki locally