2.1.0 • Published 2 years ago

threejs-3d-camera v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

threejs-3d-camera

About

This packages allows you to make a Three.js perspective camera with rotation or with both rotation and movement that supports both mouse and touch devices.

This is still in development, and you may experience bugs. If you find any bugs, please report them in the issues tab.

Features

  • Binding to a DOM element
  • Camera rotation/panning with touch and mouse locking
  • Methods to move the camera

How to use

Go to this link

You can use this package with a CDN, such as jsDelivr or unpkg.

<head>
  <!-- Using jsDelivr -->
  <script src="https://cdn.jsdelivr.net/npm/threejs-3d-camera@latest"></script>
  <!-- Using unpkg -->
  <script src="https://unpkg.com/threejs-3d-camera@latest"></script>
</head>

Documentation

For code documentation, go to: https://5mdm.github.io/threejs-3d-camera/

Credits

  • Three.js - The 3D library used
  • 5MDM - The creator of this package
  • DeltAndy123 - Keyboard and mouse support and TypeScript support
2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago