const ra = require('raster');
ra.setSize(48, 48);
ra.setZoom(4);
ra.fillColor(45);
ra.setColor(38);
let segments = [
{x: 2, y: 8, w:8, h:30},
{x:22, y: 8, w:8, h:30},
{x:33, y:20, w:8, h:18},
{x: 2, y:20, w:24, h:8},
];
ra.fold('fillRect', segments);
ra.fillCircle({x:33, y:8, r:4});
ra.run();