Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify target image in Image Tracking Examples #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/examples/event-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sidebar_label: Events Handling

import {customFields} from '/docusaurus.config.js';
import useBaseUrl from '@docusaurus/useBaseUrl';
import cardImage from '@site/static/img/demo/card.png'

:::note
This section requires basic knowledge of web development
Expand All @@ -14,6 +15,10 @@ This section requires basic knowledge of web development
## Try it out
To try this example, you need to run on desktop browser and open the development console to see the logs. <a href={useBaseUrl('/samples/events.html')} target="_blank">Live Demo</a>

You can use the following target image for testing:

<img src={cardImage} width="300" />

We will go through the available events one by one in the following sub-sections.

### Complete Source
Expand Down
5 changes: 5 additions & 0 deletions docs/examples/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ sidebar_label: Interactive
---

import useBaseUrl from '@docusaurus/useBaseUrl';
import cardImage from '@site/static/img/demo/card.png'

This is a comprehensive example that showcase what can be done by utilizing all the available features provided in MindAR. There is nothing new, so we will not go into the details. You can checkout the Demo and view the complete source for references.

<a href={useBaseUrl('/samples/advanced.html')} target="_blank">Live Demo</a>

You can use the following target image for testing:

<img src={cardImage} width="300" />

![img](/img/demo/interactive-demo.gif)


Expand Down