Performance Lab / Knowledge Athlete
AR VIBE CODING · STUDENT FIELD GUIDE

Turn any table
into a stage.

A virtual singer. A real-world anchor. An experience you can make your own. Explore the AR2 example, then give your coding assistant the reference to build from.

Based on AR2 SDK 0.2.0Swift · Kotlin · Web preview
INTERACTIVE 3D PREVIEWAR2’s original placeholder performer
00.0 / 16.0 s

Loading the singer…
Sound starts when you press Play. This web preview does not use your camera.

ONE URL FOR YOUR VIBE CODING PROMPThttps://ar2-performance-lab.oasis-7317.chatgpt.site/Readable by students and coding assistants. No repository login needed for this guide.
THE EXPERIENCE

A miniature concert,
anchored in your world.

In the native AR2 Stage example, a printed marker becomes the stage. The singer follows the print as you move it. Look away and the performance continues at its last position in the room.

Recorded iPhone demonstration of the AR2 virtual singer standing on a real desk
ACTUAL PROJECT RECORDING · iPHONE

See the native Stage in action.

The repository’s desk demonstration shows the original performer in a real camera view. This silent recording illustrates placement; the interactive preview above lets you hear the matching synthesized song.

30 cmPerformer height
18 cmPrinted marker width
16 secAnimation + audio loop

The character, motion and synthesized track are prototype assets created by the AR2 project. The singer is not a recording or likeness of a real artist.

Open the printable Stage marker
R

Recognize the stage

Register the Stage image at its real printed width. The camera supplies a tracked position and orientation for the marker.

A

Authorize the session

The native SDK validates a key against a portal and applies pattern entitlements. Additional consent gates apply to scoped subscriber media.

D

Display the performance

Anchor the model, scale it to 30 cm, and play its animation with audio. Keep placement and playback as separate responsibilities.

What is implemented: a single-viewer performance with marker or surface placement. Multi-user synchronization, shared persistent anchors, and live motion capture are additional systems to build. The browser preview above is a separate 3D demonstration, not the native AR2 SDK.
THE IDEAS BEHIND AR2

What do the patents cover?

AR2 describes a portfolio of patents, rather than one “virtual singer patent.” These two issued patents provide useful starting points for understanding the exercise.

US 10,105,601 B1 · CLAIM 1

Virtual content tied to a physical reference

Claim 1 describes a system that stores a relationship between multiple linkage points and a virtual object’s reference frame, identifies linkage points associated with a real-world object, and renders the virtual object using that relationship and the viewer’s field of view.

Connection to this exercise: the Stage marker supplies a physical reference for positioning a virtual performer. This is a conceptual connection, not a claim-by-claim legal assessment of the SDK.

Read the issued patent and claims
US 10,636,188 B2 · CLAIMS 1–3

A living entity as the marker

Claim 1 describes detecting a living entity using image comparison, finding multiple linkage points and their arrangement, and using that arrangement to select and render virtual content over the entity. Claims 2–3 add changes tied to actions and associated animation.

Extension idea: a performer’s movement could trigger an effect. The tabletop Stage uses a printed marker; it does not require identifying an audience member or tracking their body.

Read the issued patent and claims

Educational summaries of selected claims, not a legal opinion or a patent license. Claim scope depends on the full claim language. AR2’s Recognition / Authorization / Display framework is the product architecture; a concept demo is not proof that every patent claim is implemented. SDK access and production rights come from the authorized provider.

FROM REFERENCE TO YOUR APP

Choose your build path.

For today’s browser-based vibe coding exercise, start with the web preview. For camera-based AR with AR2’s marker, licensing and placement behavior, use a native SDK integration.

FASTEST CLASSROOM START

Browser prototype

Render the GLB, orbit around it, and synchronize animation to audio. No SDK or API key is needed for this preview.

Open the working web starter
NATIVE AR2

Android

Use AR2Stage with the SceneView / ARCore adapter. The repository reports emulator testing; verify on your target phone.

Showcase source · access required

A browser preview your AI can adapt

This uses Google’s model-viewer, not AR2. The audio clock drives the animation. It provides a concrete visual starting point while you design your app.

HTML + JavaScript · excerpt
<script type="module" src="assets/model-viewer.min.js"></script>
<model-viewer id="performer" src="assets/singer.glb"
  alt="Virtual singer" camera-controls></model-viewer>
<audio id="track" src="assets/song.m4a" loop></audio>
<button id="start" disabled>Play</button>
<script>
const model = document.getElementById('performer');
const track = document.getElementById('track');
const start = document.getElementById('start');
model.addEventListener('load', () => {
  model.play(); model.pause(); // Initialize the clip; audio drives time.
  start.disabled = false;
});
function frame() {
  model.currentTime = track.currentTime % 16;
  if (!track.paused) requestAnimationFrame(frame);
}
start.onclick = async () => {
  try { await track.play(); frame(); }
  catch { start.textContent = 'Tap to retry audio'; }
};
</script>

The complete starter adds pause, restart, background handling and error messages. Serve it over HTTP/HTTPS. Camera AR, image tracking, native spatial audio and shared sessions are not included.

MAKE IT YOUR OWN

Same foundation. A different show.

Change the performance and the surrounding app. Keep the tested placement and playback behavior.

A tabletop album launch

SWAP THE CONTENT

Replace the singer model and audio with an original artist’s cleared assets. Add a track picker and artist information. In native AR2, define multiple Performer entries and select one at a time.

A dance lesson in your room

CHANGE THE PURPOSE

Use a dancer with a matching instructional track. Add replay and lesson navigation. If you add variable speed, build and test audio/animation synchronization explicitly; do not assume AR2Stage exposes a speed control.

A museum’s miniature storyteller

CHANGE THE SETTING

Register an exhibit card as the marker, match its physical width, and use a narrator with a short story. Add captions and a language selector in the app interface. Keep a tap-to-place alternative when the card is unavailable.

Asset recipe: author one animation clip, with feet at the base and the character facing +Z. Export USDZ for iOS and GLB for Android/web. Match the audio and animation duration within 50 ms. Start with ≤50k triangles, ≤2048 px textures and ≤10 MB per remotely loaded iOS model. These are the repository’s recommended budgets, not guaranteed device performance.
HAND THE REFERENCE TO YOUR AI

Your idea. A better starting prompt.

Choose a platform, describe your experience, and copy the generated prompt into your coding tool. The reference includes explicit limits so your AI knows what still needs to be built.

If your coding tool cannot browse links, paste the contents of reference.md with the prompt. A URL supplies context; it does not install an SDK or grant access to the private repository.

CLASSROOM MATERIALS

The pieces of the performance.

Use the starter to explore the supplied project assets. Replace the character, animation and music with assets you are authorized to use when creating your own performance.

AR2 models, audio, marker and demonstration media © 2026 AR2 Project, LLC. They are project evaluation materials, not declared open-source or public-domain assets. This guide grants no additional SDK, patent or asset rights. See asset notices and obtain production permissions from the instructor or provider.

CHECK THE RESULT

Make it work
before making it bigger.

Ask your coding assistant to demonstrate the relevant checks. Native device results cannot be inferred from a browser or emulator preview.

Full acceptance checklist
  • Show a performer with a useful loading or failure state.
  • Play, pause and restart the audio and animation together.
  • Loop for several minutes without accumulating audio drift.
  • For native AR: track the 180 mm marker and place the singer at the intended scale.
  • Lose and reacquire the marker without restarting the song.
  • Stop the session and confirm the performer and audio stop.
  • Test on a real target device, including camera permission denial.
KEEP THE CONTEXT

Sources & practical answers.

Where does this guide’s code come from?

The native examples are adapted from AR2’s integration guide and checked against the AR2Stage implementation. Source snapshot: 414c9a7, SDK version 0.2.0, reviewed November 30, 2026. The browser starter is an independent classroom example using Google model-viewer. Native snippets were checked against source; they have not been compiled here.

Do I need access to the private GitHub repository?

You can read this guide, use its prompt, and run the browser starter without repository access. Building the native AR2 integration requires an authorized SDK bundle or repository access, a configured portal and a valid key. Your coding assistant may need you to provide the files directly.

Is this the same as the developer console?

This is a Knowledge Athlete classroom companion, styled after AR2’s developer console. It does not issue API keys or run the licensing portal. Where the console and repository differ, these examples follow the inspected repository’s implementation.

Can everyone watch the same performance together?

The supplied Stage implements playback for one viewer. A synchronized audience needs a shared session, a common spatial reference and a shared playback clock with reconnection and drift correction. Design those as explicit extensions.

Which source files should my coding assistant read?

Start with docs/INTEGRATION.md §12, ios/AR2Kit/README.md (Stage), assets/performance/README.md, and core/AR2Core/Sources/AR2Core/Display/PerformanceDirector.swift. For the complete app, use ios/Showcase or android/showcase. The AI reference maps these to their purpose.