JSPM

teapot

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q74837F
  • License Public Domain

The Utah Teapot

Package Exports

  • teapot

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (teapot) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

teapot

The Utah teapot needs no introduction, but for the unintiated here is a brief history.

Installation

Via npm:

npm install teapot

Then you can use the mesh in your projects as follows:

var teapot = require("teapot");
drawMesh(teapot.cells, teapot.positions);

Credits

(c) 1984 Matin Newell. Public Domain.

CACM cover image by James Arvo and David Kirk.

CommonJS port maintained by Mikola Lysenko