Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35040
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2018-05-17 01:03 -0700 |
| References | (3 earlier) <3127f11b-97a0-4cba-b3fe-75f78f2f2f55@googlegroups.com> <5454278d-228b-4844-a26c-9cf0afd0fa92@googlegroups.com> <66c9d254-df54-4939-ad4b-416a90ee0908@googlegroups.com> <30f5f2cb-1a9d-4c33-960e-c922c3ed8818@googlegroups.com> <04ab8154-34f4-4a08-ae08-84f1d4f6e061@googlegroups.com> |
| Message-ID | <433a9645-3d76-423e-bf0e-bf5d7a5108e7@googlegroups.com> (permalink) |
| Subject | Re: Trying to do 3D (THIRD TRY) |
| From | Leonardo Campos <leonardoscampos@gmail.com> |
On Thursday, May 17, 2018 at 3:47:31 AM UTC-3, bit-n...@hotmail.com wrote: > ..Oh, and btw, where did you get the "Math.PI / 100;" from? Why this value? I tried Math.PI/50, Math.PI/70 and Math.PI/100 to get a better rotation speed and I liked that one. Play with it and you'll see what happens. Math.PI = 180 degrees => 180 / 100 = 1.8 degrees. It runs at 60fps => 60 * 1.8 = 108 degrees per second. And it takes 3.33 seconds to rotate 360 degrees (360 degrees / 108 degrees/sec).
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-13 12:35 -0700
Re: Trying to do 3D (THIRD TRY) Leonardo Campos <leonardoscampos@gmail.com> - 2018-05-14 22:29 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-15 08:15 -0700
Re: Trying to do 3D (THIRD TRY) Leonardo Campos <leonardoscampos@gmail.com> - 2018-05-15 18:10 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 05:23 -0700
Re: Trying to do 3D (THIRD TRY) Leonardo Campos <leonardoscampos@gmail.com> - 2018-05-16 21:38 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 23:18 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 23:47 -0700
Re: Trying to do 3D (THIRD TRY) Leonardo Campos <leonardoscampos@gmail.com> - 2018-05-17 01:03 -0700
Re: Trying to do 3D (THIRD TRY) Leonardo Campos <leonardoscampos@gmail.com> - 2018-05-17 00:56 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-15 10:48 -0700
Re: Trying to do 3D (THIRD TRY) "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-05-15 12:48 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 05:29 -0700
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 05:27 -0700
Re: Trying to do 3D (THIRD TRY) "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-05-16 23:31 +0200
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-16 21:11 -0700
Re: Trying to do 3D (THIRD TRY) "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-05-17 13:35 +0200
Re: Trying to do 3D (THIRD TRY) bit-naughty@hotmail.com - 2018-05-22 05:57 -0700
Re: Trying to do 3D (THIRD TRY) "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-05-22 13:50 -0700
csiph-web