Newton's wheel and color filters
12 posts • Page 1 of 1
Newton's wheel and color filters
Hi,
is possible made in Algodoo Newton's color wheel like here?
I try something, but only, what I describe is Stroboscopic effect (if I set some RPM, the wheel looks as is stopped).
And when I think about colours in Algodoo, I looking for made colour filters in Algodoo, for combinate colours. I thing, that it might by made with Thyme (changing lasers colours, but I don't now how yet). Isn't here any other way to do this without Thyme?
Thanks for replies.
Korry
is possible made in Algodoo Newton's color wheel like here?
I try something, but only, what I describe is Stroboscopic effect (if I set some RPM, the wheel looks as is stopped).
And when I think about colours in Algodoo, I looking for made colour filters in Algodoo, for combinate colours. I thing, that it might by made with Thyme (changing lasers colours, but I don't now how yet). Isn't here any other way to do this without Thyme?
Thanks for replies.
Korry
- korry
- Posts: 21
- Joined: Thu Nov 26, 2009 7:25 pm
- Location: Czech republic
Re: Newton's wheel and color filters
----------------------------
Last edited by prodibu on Sat Jan 15, 2011 12:42 pm, edited 1 time in total.
- prodibu
- Posts: 1
- Joined: Tue Dec 28, 2010 1:14 am
Re: Newton's wheel and color filters
I believe the issue here is with the frame rate. I'm not sure but i don't think this effect can be replicated on computer's without deliberate motion blur and such.
-
Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: Newton's wheel and color filters
Mystery is correct, you may be able to do it by using you computers graphics card software to create a deliberate motion blur, but there is no promise of it working or that your card's software having this function.
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Newton's wheel and color filters
I try it in Algodoo, when I set RPM of wheel to max (600) and set fastest simulation (10x), I saw "weird" colour - not white or any grey shade.
Human eye recognises 24 images/sec, so i I made more than 24 rotations per sec, I should see white or gray if I use rainbow colours, or eg. yellow if I have green and red half-wheels.
I´m not sure, if it depends on graphics card - if I catch real Newtons wheel with camera, I will see it corectly. But if Algodoo doesn't "draw" any scene as simply images with graphics card framerate, you are right.
Solution is (by me) in use of Thyme - programme colour of rotating wheel. I thing, that link posted here is only model too.
But I thing, that Algodoo is an education tool, and I will be happy, if everything showed to students is made without programming.
Thanks
Human eye recognises 24 images/sec, so i I made more than 24 rotations per sec, I should see white or gray if I use rainbow colours, or eg. yellow if I have green and red half-wheels.
I´m not sure, if it depends on graphics card - if I catch real Newtons wheel with camera, I will see it corectly. But if Algodoo doesn't "draw" any scene as simply images with graphics card framerate, you are right.
Solution is (by me) in use of Thyme - programme colour of rotating wheel. I thing, that link posted here is only model too.
But I thing, that Algodoo is an education tool, and I will be happy, if everything showed to students is made without programming.
Thanks
- korry
- Posts: 21
- Joined: Thu Nov 26, 2009 7:25 pm
- Location: Czech republic
Re: Newton's wheel and color filters
I wonder if this could be done with tracers...
edit: nope, here it is
edit: nope, here it is
-
ducky21 - Posts: 301
- Joined: Tue Aug 03, 2010 8:58 pm
Re: Newton's wheel and color filters
This can't be done with tracers as they don't mix evenly (Even with opacity set to 0.1) one color will always be on top, making it too dominant.
My best attempt was using a laser with thyme to mix the tracers evenly even still blue ends up dominant.
Interesting though.
My best attempt was using a laser with thyme to mix the tracers evenly even still blue ends up dominant.
Interesting though.
-
Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: Newton's wheel and color filters
Though light blending in this way has not been added to Algodoo at the moment, the effect can be simulated by using the code:
An example of this can be seen here:
Changing around various properties (such as motor speed, wheel opacity, App.fadeColor and the background opacity) can result in different blending qualities and different light intensity. In order to change App.fadeColor, simply open the console, and type "App.fadeColor = [" and then it is simply an array of three values which correspond to [R%/100, G%/100, B%/100], so in order to have a 10% colour carry through (10% is left behind the new set) you would use the values "0.1,0.1,0.1", as you move closer to [1.0,1.0,1.0], panning the view will have more of an effect, keep this in mind when choosing new values. After you've typed your three values separated by commas, you should then type an ending square bracket ("]") and press enter to apply this.
This technique is a work around, so can be used to demonstrate the phenomenon, but it will still be just a work around.
- Grady
- Code: Select all
App.fadeScale = [1,1]; App.fadeColor = [0.8,0.8,0.8]
An example of this can be seen here:
Changing around various properties (such as motor speed, wheel opacity, App.fadeColor and the background opacity) can result in different blending qualities and different light intensity. In order to change App.fadeColor, simply open the console, and type "App.fadeColor = [" and then it is simply an array of three values which correspond to [R%/100, G%/100, B%/100], so in order to have a 10% colour carry through (10% is left behind the new set) you would use the values "0.1,0.1,0.1", as you move closer to [1.0,1.0,1.0], panning the view will have more of an effect, keep this in mind when choosing new values. After you've typed your three values separated by commas, you should then type an ending square bracket ("]") and press enter to apply this.
This technique is a work around, so can be used to demonstrate the phenomenon, but it will still be just a work around.
- Grady
- gradyfitz
- Posts: 174
- Joined: Tue Sep 01, 2009 8:33 am
- Location: Victoria, Australia
Re: Newton's wheel and color filters
Hi Grady,
thanks a lot, but as you wrote, it isn't ideal solution. Also I think, tahat students aren't satisfied with the final "white" (as I know them, they would say "It isn't white, you are kidding" ).
I have another idea - change colour of wheel with tyhme scripting - increasing speed will change color of coloured parts to white.
I want to solve this problem for show the colour mixing - if the wheel is red and green, final colour will be yellow ...
So I will get understandig thyme scripting and maybe I will solve this.
Thanks to all.
Korry
thanks a lot, but as you wrote, it isn't ideal solution. Also I think, tahat students aren't satisfied with the final "white" (as I know them, they would say "It isn't white, you are kidding" ).
I have another idea - change colour of wheel with tyhme scripting - increasing speed will change color of coloured parts to white.
I want to solve this problem for show the colour mixing - if the wheel is red and green, final colour will be yellow ...
So I will get understandig thyme scripting and maybe I will solve this.
Thanks to all.
Korry
- korry
- Posts: 21
- Joined: Thu Nov 26, 2009 7:25 pm
- Location: Czech republic
Re: Newton's wheel and color filters
I think the closest you will be able to easily get will be to slide the opacity slider for the sections all the way to the right and make the speed of the motor exactly 1000. You will need to type the 1000 in in place of the 60 or 600 or whatever you set it to.
1000 RPM will cause the wheel to make one revolution exactly every six frames. The sim runs at 100 Hz, you do the math. Anyway, the wheel will rotate exactly one sixth of a revolution every frame, so the result is... well... I will let you figure that out yourself.
I think this is the best you will be able to get without doing some very strange things to Algodoo/Phun or your graphics card.
Also, make sure the motor's torque is high enough.
1000 RPM will cause the wheel to make one revolution exactly every six frames. The sim runs at 100 Hz, you do the math. Anyway, the wheel will rotate exactly one sixth of a revolution every frame, so the result is... well... I will let you figure that out yourself.
I think this is the best you will be able to get without doing some very strange things to Algodoo/Phun or your graphics card.
Also, make sure the motor's torque is high enough.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: Newton's wheel and color filters
I think the closest you can get to this affect is to use overlapping lasers of the colors of the spectrum to get 'white light'.
-
TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: Newton's wheel and color filters
Good point. But, I don't think that is exactly what korry is after.
I forgot to mention that you should use Grady's wheel in that explanation of mine.
How in the world could I have forgotten that?
I forgot to mention that you should use Grady's wheel in that explanation of mine.
How in the world could I have forgotten that?
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
12 posts • Page 1 of 1
Return to Algodoo for educators
Who is online
Users browsing this forum: No registered users and 2 guests