# Struggling with movement

**URL:** https://forum.kirupa.com/t/struggling-with-movement/128393
**Category:** Uncategorized
**Created:** [November 11, 2004, 11:18pm UTC](https://forum.kirupa.com/t/struggling-with-movement/128393 "2004-11-11T23:18:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Emdiesse](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)
#### Post date: [November 11, 2004, 11:18pm UTC](https://forum.kirupa.com/t/struggling-with-movement/128393/1 "2004-11-11T23:18:04Z")

</div>

I would like to create bubbles rising.  
The speed of the bubble depends on the size of the bubble.

xscale and yscale of bubble equals a random number between 1 to 10.  
diametre = xscale (or yscale obviously seen as they are round)  
speed = 10/diametre

I would like the bubbles to load in random posistions along the line  
x start = 60 x end 760 (meaning the line is 700 pixels long, meaning the bubbles can load anywhere on this line)  
y = 190

Thanks 😃
