# Math for dummies

**URL:** https://forum.kirupa.com/t/math-for-dummies/260405
**Category:** flash
**Created:** [May 15, 2008, 11:08am UTC](https://forum.kirupa.com/t/math-for-dummies/260405 "2008-05-15T11:08:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)
#### Post date: [May 15, 2008, 11:08am UTC](https://forum.kirupa.com/t/math-for-dummies/260405/1 "2008-05-15T11:08:26Z")

</div>

Hi everybody,  
I have a question for Math champions…which i’m not obviously.  
I want to make a 3d carrousel, classic stuff. I won’t be able to explain what i want so i uploaded 2 pictures. The first picture attached is what you can usually see and the second one is the effect i want…a little bit more 3d. Hope you’ll understand what i mean.  
For now here’s the code i use onEnterFrame :

```php

    this._x = Math.cos(this.angle) * radiusX + centerX;
    this._y = Math.sin(this.angle) * radiusY + centerY;
    var s = (this._y - perspective) /(centerY+radiusY-perspective);
    this._xscale = this._yscale = s*100;
    this.angle += this._parent.speed;
    this.swapDepths(Math.round(this._xscale) + 100);
    blur.blurX = Math.round(Math.sin(this.angle - Math.PI) * 10);
   blur.blurY = Math.round(Math.sin(this.angle - Math.PI) * 10);
   this.filters = [blur];

```

Thank’s for the one who can help me a little bit.

---

<div class="post-metadata">

### Author: ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)
#### Post date: [May 21, 2008, 4:28pm UTC](https://forum.kirupa.com/t/math-for-dummies/260405/2 "2008-05-21T16:28:49Z")

</div>

no ideas at all ?

---

<div class="post-metadata">

### Author: ![ccoff](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@ccoff](https://forum.kirupa.com/u/ccoff)
#### Post date: [May 22, 2008, 1:20am UTC](https://forum.kirupa.com/t/math-for-dummies/260405/3 "2008-05-22T01:20:48Z")

</div>

[size=2]i[like[url=http://www.funingame.com/eve.html] your[url=http://www.funingame.com/guildwars.html] article[url=http://www.funingame.com/maplestory.html] very[url=http://www.allgamegold.com] ](http://www.funingame.com)much。[/size]

---

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [May 22, 2008, 9:20am UTC](https://forum.kirupa.com/t/math-for-dummies/260405/4 "2008-05-22T09:20:57Z")

</div>

yes papervision, away3d likewise

---

<div class="post-metadata">

### Author: ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)
#### Post date: [May 26, 2008, 1:46pm UTC](https://forum.kirupa.com/t/math-for-dummies/260405/5 "2008-05-26T13:46:42Z")

</div>

Yeah i know, i’m just not too comfortable with AS3 yet and a bit lazy do to it with papervision. I guess i’ll have to look at that. Thank’s anyway for your help.

---

<div class="post-metadata">

### Author: ![Gathan](https://avatars.discourse-cdn.com/v4/letter/g/df705f/32.png) [@Gathan](https://forum.kirupa.com/u/Gathan)
#### Post date: [May 26, 2008, 5:47pm UTC](https://forum.kirupa.com/t/math-for-dummies/260405/6 "2008-05-26T17:47:24Z")

</div>

Why not look at senocular’s excellent 3D article at [http://www.kirupa.com/developer/actionscript/camera\_panning.htm](http://www.kirupa.com/developer/actionscript/camera_panning.htm), that has a example with images in a carousel which is what you want.  
It’s a good read if you want to understand the basic concepts behind it and just don’t want to use a existing engine.  
Heres a link to that specific fla, hope it helps you some.
