Preserved Topic: Circle function (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-11-2001 04:09
Well i'm trying to learn all that i can, but is hard sometimes..... so, there we go: |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-11-2001 04:32
http://www.dansteinman.com/dynduo/en/geometric-circle.html |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-11-2001 04:58
A looooong time ago I posted an answer to an identical questoin at the Gurus Network, but it seems to have been deleted. I'll say later, I'm real busy now... |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-11-2001 05:00
~gets some pop corns, coffee and sits down waiting for Slime~ |
Neurotic (0) Inmate Newly admitted |
posted 09-11-2001 05:39
milk, cream, or sugar wakkos? *sits down waits and drinks his irish creme coffee* |
Maniac (V) Mad Scientist From: New California |
posted 09-11-2001 08:19
Wakkos, |
Maniac (V) Inmate From: Brisbane, Australia |
posted 09-11-2001 11:11
Here's how i'd make div animate in a circular motion. |
Paranoid (IV) Inmate From: Lebanon |
posted 09-11-2001 11:48
There was also not a very old post like this one and user RoyV or RoyW posted a very nice and small code for it, so for more info check back two or three weeks.. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-11-2001 14:13
You can find the old topic, where RoyW posted his code here: http://www.ozoneasylum.com/Forum2/HTML/000939.html |
Maniac (V) Inmate From: Brisbane, Australia |
posted 09-11-2001 14:54
Well, that sure made my code look like crap. heh. At least I know how to do it better now though. |
Bipolar (III) Inmate From: |
posted 09-11-2001 14:58
Hi Wakkos, code: <HTML>
|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-11-2001 15:12
This one looks easyer to play with than the Docs one (i was calculating the diameter to set the distance between the balls!!!) |
Paranoid (IV) Inmate From: Lebanon |
posted 09-11-2001 15:15
RoyW, I have a question! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-11-2001 19:37
I'm going to attempt to, very simply, explain the math behind the cosine and sine functions. Most likely you've heard of them as "opposite over hypotenuse" or something like that, I'll show you why that's the case, but I think it's better to explain it like this. |
Bipolar (III) Inmate From: |
posted 09-12-2001 15:51
It is difficult to explain without diagrams. Do a Lycos search for "Trig Functions". One link I came up with was http://math.usask.ca/readin/trfn.html |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-12-2001 16:04
Wait!! the function that you gave me was right!!! |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-12-2001 18:17
I worked with the Doc's code, but i want to add more, i did it, but it's out of place |
Bipolar (III) Inmate From: |
posted 09-12-2001 23:01
Are you trying to combine the 2 scripts so you have a static circling object and a circling object that follows the mouse? |
Maniac (V) Mad Scientist From: New California |
posted 09-13-2001 09:51 |
Bipolar (III) Inmate From: |
posted 09-13-2001 15:42
Huh? code: Count[j] = Count[j] + (speed*direction);
code: eval(layerstart+"a"+j+layerstyle+layerleft+" = templeftlocation["+j+"]");
code: this.obj.left = x;
|