npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@wonderlandengine/mind-ar-tracking

v1.1.0

Published

Mind-AR tracking powered AR tracking in Wonderland Engine.

Downloads

5

Readme

Integration of mind-ar-js, an open-source image tracking framework, for Wonderland Engine.

Try it!

Examples are live here.

Setup

The fastest setup can be achieved by copying one of the examples and adjusting it for you use case.

Create a Marker

Prepare target images and compile them into .mind file using the mind-ar-js compiler tool.

Project Setup

With a new Wonderland Engine project, follow these steps for setup:

  1. npm i --save @wonderlandengine/mind-ar-tracking
  2. Disable VR in Views > Project Settings > VR & AR

Tracking Camera

Set up the camera to receive tracking results:

  1. Right-click "root", Add Object > View (Camera), optionally renamed it to AR Camera.
  2. Attach a new component image-tracking to this object.
  3. Set the mindPath parameter to the path of the compiled MindAR target file, i.e. targets.mind file. For example, you can put the targets.mind file into a static folder under the root directory, and then set his parameter to targets.mind.

Camera Feed

Setup the camera feed in the background:

  1. Find "Sky" in Resources > Pipelines.
  2. Set the shader to "Background" and enabled TEXTURED.
  3. Create a new material "VideoFeed" in Resources > Materials and make it use the Sky pipeline.
  4. Go to Project Settings > Rendering, enable sky and drag-drop the new material into the material slot.

Tracking Targets

  1. Right-Click > Add Object > Empty on AR Camera. Optionally rename it to "Tracking Target 0".
  2. Attach a image-tracking-target component to this object, assign the AR Camera object to the arCamera parameter.
  3. targetIndex is the index of the target images in the targets.mind file. If you only have one target, it should be 0. Add any content as child objects of the Tracking Target objects.

You can add as many targets as you want, and assign different targetIndex to multiple image-tracking-target components.

Demo

Demo Video on YouTube

Examples

Minimal: /examples/image-tracking

Multiple Targets: /examples/image-tracking-multiple-targets

Roadmap

  • Integration of mind-ar's face tracking feature