0.6.3 • Published 7 months ago

little-planet v0.6.3

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

<little-planet>

This project is a Custom HTML Element (AKA Web Component) that renders an interactive view of a panoramic photo. Can be used with no JavaScript knowledge: just include the component and continue with plain HTML.

See it in action or jump straight into the Documentation

Features

  • Easy to use via the <little-planet> HTML tag
  • Rendered via WebGL 2
  • No geometry, just one quad
    • uses the impostor sphere technique, ray-tracing the scene in fragment shader
  • Two views: top-level planet-like (not interactive) and a regular interactive inside-the-sphere
  • Smooth transition (both ways: double-click/tap to zoom back)
  • Controllable via mouse or touch, mobile friendly
  • Needs only one (equirectangular) image, size up to 8192×4096 pixels

Read more

Miscellaneous

Changelog

  • 0.5.x: FOV for the longer side
  • 0.4.x: static instead of inert
  • 0.3.x: shadow DOM
  • 0.2.x: reverse transition support
  • 0.1.x: initial release
0.6.3

7 months ago

0.6.2

7 months ago

0.6.1

7 months ago

0.6.0

7 months ago

0.5.1

11 months ago

0.3.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago