# lively.morphic

> ## Examples

Latest version **0.1.0** (published 2016-07-02) · 0 weekly downloads

## Install

```sh
npm install lively.morphic
pnpm add lively.morphic
yarn add lively.morphic
bun add lively.morphic
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-07-02 |
| First published | 2016-07-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | robertkrahn |

## Links

- npm: https://www.npmjs.com/package/lively.morphic
- npm.io page: https://npm.io/package/lively.morphic

## Dependencies (4)

- [js-dom](https://npm.io/package/js-dom.md) 0.0.1
- [lively.lang](https://npm.io/package/lively.lang.md) ^0.6.2
- [virtual-dom](https://npm.io/package/virtual-dom.md) ^2.1.1
- [lively.graphics](https://npm.io/package/lively.graphics.md) ^0.1.0

## Recent versions

- 0.1.0 (latest) — 2016-07-02

## README

# lively.morphic

## Examples

Render two boxes:

```js
import { pt, Color } from "lively.graphics";
import { Renderer } from "lively.morphic/renderer.js";
import { Morph } from "lively.morphic/morph.js";

var world = new Morph({extent: pt(300,300)})
world.addMorph(new Morph({position: pt(34,20), extent: pt(50,100), fill: Color.green}))
world.addMorph(new Morph({position: pt(104,20), extent: pt(50,100), fill: Color.red}))
new Renderer().renderWorldLoop(world, document.body)
```

---
_Source: https://npm.io/package/lively.morphic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
