Forums > Beginner Poi Moves > The maths of the 3 Beat weave

Login/Join to Participate
Page:
sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
Hi all

Recently i've been working on a 3D-animation coursework within which i decided to add a person doing poi. Course its all rather simple...the poi are made of a cylinder and a sphere and the "person" spinning them is a collection of cylinders to make the arms.

To do it i had to figure out the maths behind the 3 beat weave. Once i got into it, it became rather complicated to think about biggrin, its amazing how the simplist things our bodys can do are so god damn strange to model in maths and on computers. It turned out to be rather interesting if you're into that kinda stuff smile. Thought id slap it on here see if anyone was interested biggrin

I decided to model the situation on a per-poi basis to simplify things. Each poi has their own period which raises in steps of 10 degrees and has a range of 1080 degrees (that is 3 full rotations).

Now the things which make it a 3 beat weave is the points in this period where the poi travels from the left hand side to the right hand side and visa versa. I worked this out as being:

left poi
---------
leftPoiRotate >= 990 || leftPoiRotate <= 90
left poi travels to the left

leftPoiRotate >=270 && leftPoiRotate <= 450
left poi travels to the right


right poi
---------
rightPoiRotate >= 990 || rightPoiRotate <= 90
right poi travels to the right

rightPoiRotate >=270 && rightPoiRotate <= 450
right poi travels to the left

What this gives you is 2 poi spinning, changing position in x to give the affect of the 3 beat. To get a better 3 beat you can also add the change in period of the y which is simply the y portion of a circle at any given period of the poi....something like:

y = sin(poi_rotation)

The time steps the poi remain on the right or left hand side is what gives the movement of the 3 beat. With a bit of tinkering i recon this could be boiled down to a couple of paramteric equations for x,y and z for each poi smile

Hmm, but yeh thats what you're doing when you spin a 3 beat biggrin...or a close approximation where the arms pass through each other anyways wink

Efficient humour: "heh...wang smile"


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Written by: Richee


NYC: What is TI-83?




Sorry Richee, that was Amercicacentric of me. It's a graphing calculator.

Well, shall we go?
Yes, let's go.
[They do not move.]


ado-pGOLD Member
Pirate Ninja
3,882 posts
Location: Galway/Ireland


Posted:
Written by: NYC



Shouldn't be manic. It looks like a fish swimming to the right. The graphing calculator is nice because you get to actually see it follow the path.








Richee... Its a Calculator.



A funky one with loads of buttons on it at that.



/edit/



to damn slow am I.
EDITED_BY: ado-p (1103041534)

Love is the law.


RicheeBRONZE Member
HOP librarian
1,841 posts
Location: Prague, Czech. Republic


Posted:
Hahah Texas Instrument in NYork. smile

POI THEO(R)IST


colemanSILVER Member
big and good and broken
7,330 posts
Location: lunn dunn, yoo kay, United Kingdom


Posted:
*bows down*

have a cookie:

Non-Https Image Link

good question...

cole. x

"i see you at 'dis cafe.
i come to 'dis cafe quite a lot myself.
they do porridge."
- tim westwood


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
YAY!

Written by: mcp


PICTURES!!!!!

please sir, can we have some pictures... (or maybe a video?)

:tantrumsmiley:

biggrin




How can you have a picture of an equation? Get some graph paper and graph it. biggrin

Well, shall we go?
Yes, let's go.
[They do not move.]


sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
oh dude if you could see what im seeing biggrin

I stuck you're equations into my graphics program and although it isnt *perfect* it is definetly doing 3 beat weave with the 2 poi biggrin

Bloody ace...wish i could show you....i'll try to get it in a form that i can pass out to people soon biggrin

Efficient humour: "heh...wang smile"


sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
Ok cool just did a video capture of my program with FRAPS...



might not look like much buts thats definetly a slightly moded version of NYC's parametric equations for x and y and if you concentrate hard enough they are DEFINETLY doing a 3 beat weave biggrin



This would be the first poi video im putting up on hop and it isnt me, and on top of that its an equation wink



bah its all good biggrin



heres the link:

https://www.ecs.soton.ac.uk/~ss1602/Animated-Poi.zip

EDITED_BY: sinjax (1103044956)

Efficient humour: "heh...wang smile"


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
No worky for me. frown But I know what it looks like. biggrin

Well, shall we go?
Yes, let's go.
[They do not move.]


Disc0annoying boy
160 posts
Location: Sweden


Posted:
heh... i have the TI-84 ;P
but not at home, so i would appreciate a pic of the graph or so. the codec for the avi didn't work for me either. i'll se if i can found it.

someone said he/she wrote graphs in Excel... (or maby i read wrong).... and i get to ask myself: how the heck do you write graphs in excel? i've tried to find a function in the diagram-thingie, but i failed desperately... anybody knows?

fire is just light and heat.
it's you friend!


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Don't graph it in Excel. It's not nearly as cool.

Well, shall we go?
Yes, let's go.
[They do not move.]


Disc0annoying boy
160 posts
Location: Sweden


Posted:
i know.. but the problem is: i have my calc. in school.... i want to see now! biggrin (plus i would like to learn excel smile )

fire is just light and heat.
it's you friend!


MikeIconGOLD Member
Pooh-Bah
2,109 posts
Location: Philadelphia, PA - USA


Posted:
Vid dont work for me either. File opens and plays but no video is displayed.

Let's turn those old bridges we crossed into ashes.
We'll blaze a new trail,
and torch the rough patches.

-Me


sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
Video didnt work....hmmmmm



errr i dont have anything special apart from the divex codec from the kazaa light codec pack? do you guys have that?



Map the function with excel in 2D...as in X against Y....you do it by making three coloumns...one with angles 0 - 360...one for X function and one for Y...now select the X and Y coloumns and go to Insert->Chart



play with the settings till you get a graph that looks vuagly like a fish smile



-----



ah just used GSpot to figure out what was wrong with that file...apparently it uses some randomass codec that comes along with the program i used to create the vid...to view it i think you need to download fraps...you can download it from here:



https://www2.fraps.com/FRAPS250.EXE

EDITED_BY: sinjax (1103061250)

Efficient humour: "heh...wang smile"


mcpPLATINUM Member
Flying Water Muppet
5,276 posts
Location: Edin-borrow., United Kingdom


Posted:
I have a TI-85... (Muhahaha and all that) but it's at home... frown



And it doesn't do answers as fractions, like the TI-92's did... But at least it wasn't a casio.

"the now legendary" - Kaskade
"the still legendary" - Kaskade

I spunked in my friend's aquarium and the fish ate it. I love all fish. Especially the pink ones. They are my bitches. - Anon.


FrodoBRONZE Member
old hand
1,092 posts
Location: In a van, United Kingdom


Posted:
i can see it.....

Lovely... now for the butterfly... lol smile

Well done Sinjax...

passing through, this world still lives.


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Written by: Frodo


i can see it.....

Lovely... now for the butterfly... lol smile





Butterfly is EASY! biggrin Don't have my trusty TI with me but it's just sin and cos, then negative T for the other direction. smile

WRAPS would be tough. You'd need a limit. Which is over the head of a TI.

Well, shall we go?
Yes, let's go.
[They do not move.]


sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
Hmm myself and puresock were talking about this and indeed wraps would be hard to model this way

I thought maybe modeling the poi accuretly? as apposed to a single point spinning, have each section of the poi have its own path to follow (which is in essence what makes the wrap possible)...

so periodically a section of the poi would change equation. Course this method would be just conditional logic on the T value and not a nice tidy clean function like the one you created for the weave smile

Efficient humour: "heh...wang smile"


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
That's true... but that's life. As long as we still have the illusion of free will we'll be able to change the equation whenever we like.

A wrap wouldn't be that bad, you'd just have to have limits on T. So let's say you had the poi recoil at 0.5 seconds, you'd have one equation for 0
Wouldn't be too bad I suppose.

Well, shall we go?
Yes, let's go.
[They do not move.]


pkBRONZE Member
Lambretta Fanatic
4,998 posts
Location: United Kingdom


Posted:
much good geekiness!

spiralxveteran
1,376 posts
Location: London, UK


Posted:
Written by: sinjax


Hmm myself and puresock were talking about this and indeed wraps would be hard to model this way

I thought maybe modeling the poi accuretly? as apposed to a single point spinning, have each section of the poi have its own path to follow (which is in essence what makes the wrap possible)...

so periodically a section of the poi would change equation. Course this method would be just conditional logic on the T value and not a nice tidy clean function like the one you created for the weave smile



Yeah I've had this thought before. I think by modelling the poi body as four equal sections you'd be able to cover most cases - near the head for recoil wraps and airwraps, in the middle for hyperloops and thru wraps, and near the handle for, well, other stuff. It'd be computationally more complex for sure, but would allow for 99% of moves to be modelled.

"Moo," said the happy cow.


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Butterflies:
X1=sin T
Y1=cos T
X2=sin -T
Y1=cos -T

Split Time Butterflies:
X1=cos T
Y1=sin T
X2=cos -T
Y2=sin -T

Well, shall we go?
Yes, let's go.
[They do not move.]


NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Got a wrap. It ain't perfect but it's close.

Graph SEQUENTIAL (So one AFTER the other)

Tmin=1
Tmax=10

X1 = sin (T) /T
Y1 = cos (T) /T

THEN

X2 = Tcos (T-9)/10
Y2 = Tsin (T-9)/10

I think I might be a bit offphase but close.

Well, shall we go?
Yes, let's go.
[They do not move.]


sinjaxBRONZE Member
Member
28 posts
Location: Southampton, United Kingdom


Posted:
Written by: spiralx


Yeah I've had this thought before. I think by modelling the poi body as four equal sections you'd be able to cover most cases - near the head for recoil wraps and airwraps, in the middle for hyperloops and thru wraps, and near the handle for, well, other stuff. It'd be computationally more complex for sure, but would allow for 99% of moves to be modelled.




Hmm what we need is a HOPer that plays with 3D studio max. I have a feeling that something to do with Skeletal systems applied to poi would make it MUCH easier to model and animate this 4 section poi situation

but alas....my max skills are equivilant to that of a dolphine

have you ever seen a dolphine try to operate a mouse?!

Efficient humour: "heh...wang smile"


GlåssDIAMOND Member
The Ministry of Manipulation
2,523 posts
Location: Bristol, United Kingdom


Posted:
"Hmm what we need is a HOPer that plays with 3D studio max"
Like meeeeeeeeee !

NYCNYC
9,232 posts
Location: NYC, NY, USA


Posted:
Yes. LIKE you. Similar in many ways. Do you know anyone like you? wink

Thinking on topic, It seems that most basic poi moves are simply circles rotating around a moving point (hand for basic, non isolated moves)... Flowers and such should be easy too... no? Well, fluid ones, not like the NickWithFire ones where he starts and stops his hands at certain places. A basic equation for a flower would look like those old spirograph flowers that you'd draw by putting your pencil in one of those gear thingies.... Maybe that was just an American 80s thing.

Isolations would be easy cuz the pivot point just changes.

Still thinking... and graphing...

Well, shall we go?
Yes, let's go.
[They do not move.]


RicheeBRONZE Member
HOP librarian
1,841 posts
Location: Prague, Czech. Republic


Posted:
Go, NYC go, make graphs smile

POI THEO(R)IST


ado-pGOLD Member
Pirate Ninja
3,882 posts
Location: Galway/Ireland


Posted:
Stick moves should be easy enough then too eh?

Love is the law.


FabergGOLD Member
veteran
1,459 posts
Location: Dublin, Ireland


Posted:
Written by: NYC


A basic equation for a flower would look like those old spirograph flowers that you'd draw by putting your pencil in one of those gear thingies.... Maybe that was just an American 80s thing.





what, this old thing?

nah, i'm sure i had one in the 70's ubblol

My mind not only wanders, it sometimes leaves completely smile


strugzBRONZE Member
Carpal \'Tunnel
3,964 posts
Location: Southampton - Possibly..., United Kingdom


Posted:
Hey ive still got one of them............man they are fun smile

Id just like to say Sinjax and NYC you guys are insainly good at maths and i bow down to your greater knowledge.....

Keep up the splendid work biggrin

"...We don't stop playing because we get old, we get old because we stop playing......."


RicheeBRONZE Member
HOP librarian
1,841 posts
Location: Prague, Czech. Republic


Posted:
This is really good spirograph https://www.wordsmith.org/~anu/java/spirograph.html,
enjoy smile
EDITED_BY: Richee (1103833073)

POI THEO(R)IST


Page:

Similar Topics

Using the keywords [math * 3 beat weave] we found the following existing topics.

  1. Forums > The maths of the 3 Beat weave [114 replies]
  2. Forums > The maths of the 3 Beat weave
  3. Forums > Cool Maths stuff from some very clever hopers [14 replies]

      Show more..

HOP Newsletter

Subscribe now for updates on sales, new arrivals, and exclusive offers!