Skip to content

Repository files navigation

wafermap

wafermap icon

CI npm runtime deps bundle license: MIT

wafermap demo

Browser-first wafer map visualization for semiconductor test data.

Zero runtime dependencies · ~40 kB min+gz (core entry). Pure ES modules with TypeScript types — works in React, Svelte, Vue, plain HTML, or a Web Worker.

Project Portal: Docs & Interactive Demos →

Community

Questions, ideas, or want to show off a wafer map you built? Use GitHub Discussions.

Overview

wafermap renders interactive wafer maps from semiconductor prober output. Hard bins, soft bins, test values, retest runs, edge exclusion, and spec limits are native inputs.

  • Geometry inference — pass full physical dimensions or raw prober step positions; die pitch, wafer diameter, and coordinate origin are resolved automatically
  • renderWaferMap — interactive canvas map with toolbar, zoom/pan, tooltips, die selection, and summary panel
  • renderWaferGallery — lot-level card grid with shared controls and click-to-expand
  • Insights tab (insights: { enabled: true }) — an in-toolbar chart suite (yield, bin pareto, capability, boxplot, histogram, correlation, scatter) computed from the same wafer/lot data, for one wafer or the whole gallery
  • analyzeWaferMap / analyzeWaferLot — spatial analysis across rings, quadrants, sectors, and reticle positions; failure cluster detection; lot trend series
  • Pure ES modules, no server, no runtime dependencies — works in React, Svelte, Vue, plain HTML, or a Web Worker

Quick start

npm install @wafertools/wafermap
import { buildWaferMap } from '@wafertools/wafermap';
import { renderWaferMap } from '@wafertools/wafermap/render';

const result = buildWaferMap({
  results: rows.map(r => ({ x: +r.x, y: +r.y, hbin: +r.hbin })),
});

renderWaferMap(document.getElementById('map'), result);

Note the two import paths. The renderers (renderWaferMap, renderWaferGallery, toCanvas) live only at @wafertools/wafermap/render, so importing them from the root package will fail. That keeps the root entry DOM-free — usable in Node for a build-and-analyse pipeline, and tree-shakeable when you only need the geometry, data and stats layers.

Docs

Building an app with wafermap (developers):

Using an app built with wafermap (test / device / yield engineers):

Built with wafermap

  • tsmap — cross-platform desktop app for loading STDF, ATDF, CSV, and JSON wafer data

Local preview

npm install
npm run dev

Serves the documentation site locally from docs/, including the example pages under docs/examples/.

About

Interactive wafer map visualization and yield analysis for semiconductor test data. Rendering, spatial statistics, failure clustering, lot-level trends, and reticle analysis — pure ES modules, no dependencies.

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages