# AI component for fun

**URL:** https://community.glideapps.com/t/ai-component-for-fun/78876
**Category:** General
**Created:** [December 31, 2024, 10:25am UTC](https://community.glideapps.com/t/ai-component-for-fun/78876 "2024-12-31T10:25:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [December 31, 2024, 10:25am UTC](https://community.glideapps.com/t/ai-component-for-fun/78876/1 "2024-12-31T10:25:13Z")

</div>

Just a quick share: a little feature for my fitness app, which has been another fun experiment with AI components. The app tracks the collective steps of our fitness group and turns them into a virtual journey across Europe.

Here’s how it works: We add up everyone’s steps, multiply them by 0.67 to convert them into ‘step-meters’, and then divide by a thousand for distance in kilometers. Using this distance, we chart our progress across a virtual map, starting from our base in Aegeri (we look up the farthest city reached from a list of cities with distances sourced via Chat GPT). A dynamically updated text field shows the city we’ve reached.

 ![IMG_2592](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/8/38380d23377b0f2f422d695713d716ad1ada97e9.jpeg)

To make it visually engaging, I included an AI-component that displays an image of a mountainous horizon along with 2 dynamic text fields, to represent our start and end points. In our last 28-day program, the group managed to “travel” the length and breadth of many cities across Europe, which has been a motivator for everyone involved.

Just a little bit of fun and a sense of shared achievement for the users on their fitness journey……

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [January 1, 2025, 1:53am UTC](https://community.glideapps.com/t/ai-component-for-fun/78876/2 "2025-01-01T01:53:39Z")

</div>

Your use cases are quite refreshing! Thanks for sharing.
