vue-depth-viewer
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

vue-depth-viewer

Work in progress


Simulate a fake 3d view with depth map and WebGl for your vue apps.

Installation

npm i vue-depth-viewer

Usage

import "vue-depth-viewer/style.css"

<VueDepthViewer
  :img="image"
  :depth-img="depth"
  :options="{
    horizontalThreshold: 30,
    verticalThreshold: 150,
  }"
/>

Custom css

You can add you custom css via the following properties

  • .vuedepthviewer__container for the container

  • .vuedepthviewer__img for the placeholder image

Playground

To use the playground just go to the ./playground/vite or ./playground/nuxt and run npm i and npm run dev.

Package Sidebar

Install

npm i vue-depth-viewer

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

33 kB

Total Files

8

Last publish

Collaborators

  • narcisserael