> For the complete documentation index, see [llms.txt](https://object-docs.gitbook.io/objectxrpl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://object-docs.gitbook.io/objectxrpl/visual-balance/how-the-visual-balance-works.md).

# How the Visual Balance Works

Visual Balance transforms your OBJECT balance into dynamic, interactive objects—making your crypto assets come to life. It’s fast, secure, and completely private.

***

### Quick Overview

* **Secure XRP Address Input:**\
  Enter your XRP address to fetch your OBJECT balance and live price data in USD and XRP.
* **Image Upload (Optional):**\
  Upload a photo to generate a personalized pixelated imprint that colors your dynamic objects.
* **Interactive Visualization:**\
  See your balance represented as moving circles on a physics-enabled canvas. You can move them around and explore your assets.
* **Privacy First:**\
  No data (XRP addresses, images, etc.) is stored or sent to any server. For extra peace of mind, try our neutral AMM address: **rQUKWApwNvspWqLUyE7b7SjcuihsVUrhxG**.

***

### How It Works in a Nutshell

1. **User Interaction:**
   * Input your XRP address and (optionally) upload an image.
   * Click "See OBJECT Balance" to trigger the visualization.
2. **Data Fetching:**
   * Uses XRPL JSON-RPC to fetch your balance.
   * Retrieves live price data from DexScreener.
3. **Dynamic Visualization:**
   * Uses Matter.js for realistic, interactive object movement.
   * Maps your balance to a number of circles (photo-based if an image is uploaded, or random otherwise).
4. **Additional Features:**
   * Toggle between USD and XRP display.
   * Use modals to share or copy your XRP address with a QR code.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://object-docs.gitbook.io/objectxrpl/visual-balance/how-the-visual-balance-works.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
