html, body {
  margin: 0;
  height: 100%;
}
const scene = new Pencil.Scene();

const size = 30;
const triangle = new Pencil.Triangle(scene.center, size);

scene.add(triangle).render();

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://unpkg.com/pencil.js