Author Topic: Colors (Mixing color or paint: R/G/B)  (Read 428291 times)

shoutroy

  • Newbie
  • *
  • Posts: 1
Re: Colors (Mixing color or paint: R/G/B)
« Reply #15 on: May 28, 2007, 05:06:10 pm »
please send to me this flash.i want to use it as my teaching.please.i cannot download it

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Colors (Mixing color or paint: R/G/B)
« Reply #16 on: May 29, 2007, 12:49:39 am »
It is a java simulation (it is not a flash program).
You can select download or email to your account the file:image.zip
Unzip it and open rgbColor.html with your browser.


mrel

  • Newbie
  • *
  • Posts: 2
Re: Colors (Mixing color or paint: R/G/B)
« Reply #17 on: March 03, 2008, 11:42:40 am »
Hi, I am an undergraduate student of electrical engineering, and I am interested in math of light and pigment color mixing.

Can you please clarify your way of thinking for OR light mixing logic?
It don't make sense to me, because you say that if you put together two of the same colours like (128,0,0) + (128,0,0) you will get (128,0,0), but if you change one of them for smallest possible amount(almost indistinguishable colors) like say for example (128,0,0) + (127,0,0) you get completely different result (255,0,0)
I am not an expert on colors but I don't think it works quite that way in our eye(we don't need perturbations, and chaos theory in this).

I'm interested in colors and i would like to learn this "color math" but I want it to be at least a little more on correct side of reasoning.

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Colors (Mixing color or paint: R/G/B)
« Reply #18 on: March 04, 2008, 09:27:04 pm »
Yes. You are right.  :o It should not happened like the way you just pointed out. :P  This is what need to be improved. ? hope someone can find out a better way of doing it (I will try to think about it,too.).  :-[

The frequency response for electromagnetic wave to our eye is not a linear function. The color mixing for vision is not a simple process.


sonu

  • Newbie
  • *
  • Posts: 1
Re: Colors (Mixing color or paint: R/G/B)
« Reply #19 on: July 27, 2008, 07:36:51 pm »
hii,could u plz send me a copy of source code of this program in my mail id.plzz

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Colors (Mixing color or paint: R/G/B)
« Reply #20 on: July 28, 2008, 12:09:56 pm »
I just added source code for the applet as attachement at the first posted message.
rgbLight.java is the code for the applet and fkhStage.java contains public functions used by rgbLight.java.
However, the code was written in 1999 with JDK1.0.2.

BlackRose18

  • Newbie
  • *
  • Posts: 1
Re: Java Source Code
« Reply #21 on: July 31, 2009, 08:23:06 pm »
It don't accomplish faculty to me, because you say that if you put calm two of the aforementioned colours like (128,0,0) + (128,0,0) you will get (128,0,0), but if you change one of them for aboriginal accessible amount(almost duplicate colors) like say for archetype (128,0,0) + (127,0,0) you get absolutely altered aftereffect (255,0,0)

-*-



hunter4774

  • Newbie
  • *
  • Posts: 1
Re: Colors (Mixing color or paint: R/G/B)
« Reply #22 on: January 18, 2011, 09:41:17 pm »
mr hwang..
can u please email me the java source code for this Colors..
thanks...

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Need java source code for Colors (Mixing color or paint: R/G/B)
« Reply #23 on: January 18, 2011, 10:55:00 pm »
The source code is inlcuded in the same message as attached files.
Please download it by yourself! ;)

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Colors (Mixing color or paint: R/G/B)
« Reply #24 on: June 21, 2012, 02:46:54 pm »
Dear Prof Hwang,

would u be interested to create a EJS version?
i search OSP and NTNU and there is EJS version of the color mixing applet yet.


i wish to adapt and create a 3 circle applet that can show the TPCK diagram
http://www.tpck.org/


for your consideration
:)

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Colors (Mixing color or paint: R/G/B)
« Reply #25 on: August 29, 2013, 04:50:17 pm »
hi prof,
can make an EJS version for this applet!
i wish to study the source code of color mixing.
thanks!
« Last Edit: August 29, 2013, 05:09:49 pm by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Colors (Mixing color or paint: R/G/B)
« Reply #26 on: August 29, 2013, 09:55:23 pm »
EJS does not has GUI or build in library to calculate the color mixing, so I did not create an EJS version.

However, the source code is available as attached file (at the first posted message) if you want to study it.  :D

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Colors (Mixing color or paint: R/G/B)
« Reply #27 on: September 03, 2013, 11:04:55 pm »
http://weelookang.blogspot.sg/2013/09/light-mixing-model.html

Light Mixing Model made in Geogebra.
http://www.geogebratube.org/student/m47961?post_id=731464494_10151686914399495#_=_
i decided to make one myself referencing some of the codes from many thanks to http://www.geogebratube.org/material/show/id/4579 Shared by ukukuku — February 12th, 2012 - 21:24

based on a conversation here http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=39, since EJS does not have the capability to create this more easier than GeoGebra.



Thinking Questions by lookang.

what do you get when red mix with green?

answer is yellow

what do you get when red mix with blue?

answer is magenta

what do you get when green mix with blue?

answer is teal

what do you get when red mix with green and blue?

answer is white
« Last Edit: September 03, 2013, 11:08:54 pm by lookang »