# three.fly

> Three.js fly controls as common js module

Latest version **0.1.6** (published 2015-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install three.fly
pnpm add three.fly
yarn add three.fly
bun add three.fly
```

## 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.6 |
| Published | 2015-07-06 |
| First published | 2014-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Andrei Kashcha |
| Maintainers | anvaka |
| Keywords | threejs, controls, input, mouse, 3d |

## Links

- npm: https://www.npmjs.com/package/three.fly
- Repository: https://github.com/anvaka/three.fly
- Homepage: https://github.com/anvaka/three.fly#readme
- Issues: https://github.com/anvaka/three.fly/issues
- npm.io page: https://npm.io/package/three.fly

## Dependencies (1)

- [ngraph.events](https://npm.io/package/ngraph.events.md) 0.0.3

## Recent versions

- 0.1.6 (latest) — 2015-07-06
- 0.1.5 — 2015-06-23
- 0.1.4 — 2015-04-21
- 0.1.3 — 2015-04-21
- 0.1.2 — 2015-04-18
- 0.1.1 — 2015-04-17
- 0.1.0 — 2015-04-11
- 0.0.0 — 2014-05-14

## README

# three.fly

This is adoptation of three.js [FlyControls](http://threejs.org/examples/#misc_controls_fly)
to common js module, with major rewrite of internal structure.

# usage

``` js
// 1. Create fly controls:
var fly = require('three.fly');
var controls = fly(camera);

// 2. Inside your update scene loop (e.g. inside requestAnimationFrame()):
controls.update(1); // `1` is time delta.
```

# install

With [npm](https://npmjs.org) do:

```
npm install three.fly
```

# license

MIT

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