Author Topic: Prism: Reflection and refraction  (Read 182912 times)

liesenbergk

  • Newbie
  • *
  • Posts: 16
Re: Prism: Reflection and refraction
« Reply #15 on: February 19, 2010, 06:08:50 pm »
Dear Professor,

Thanks a lot for you amazingly fast programming of the requested optical polygon!  :)
I am enjoying it a lot. It is very useful for my present study object. I will thoroughly test this simulation and come back to you with some suggestions. Thanks again, also for the other models you pointed out for me!

Best regards.

liesenbergk

  • Newbie
  • *
  • Posts: 16
Re: Prism: Reflection and refraction
« Reply #16 on: February 23, 2010, 12:21:05 am »
Dear Professor,

I tested the polygon ray tracing for a while. It would be desireable to allow simple concave polygons (please refer to http://en.wikipedia.org/wiki/Simple_polygon). These polygons are not self intercepting but you may cross them with a line on more than two points. I know that the programming will be trickier for this case. But it would be very helpful.

Best regards!

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Prism: Reflection and refraction
« Reply #17 on: February 23, 2010, 12:42:51 am »
Please write down in detail what you really want to do.
Quote
I wonder if it would be possible to create a simulation with a polygonal prism, for example with 4, 5 or even 6 faces. This would be nice, even if there would be some form restrictions.
You were asking extendsion from prism to polygon, so I created the simulation Ray tracing (polygon: range from 3-32 faces)
I can only guest what you might want.
You can try out Lens (thick lens) and Mirror or other similar applet if you just need simulation for concave lens.
It might be easier to add some control points to set up concave/convex lens if that is when you want to play with.

It will be much easier if you can provide all the information so that the created simulation can best fit with what you need! Waiting for your information!

liesenbergk

  • Newbie
  • *
  • Posts: 16
Re: Prism: Reflection and refraction
« Reply #18 on: February 23, 2010, 06:47:27 pm »
Dear Professor,

I am sorry for being clear enough in my formulation. Please observe the attached simple concave polygon as one example of the multi-face prisms I would like to investigate.

Please let me know if this can be done.

Best regards!

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Prism: Reflection and refraction
« Reply #19 on: February 23, 2010, 10:34:24 pm »
Yes. It can be done.
Because you did not provide coordinates for the polygon shape, I modified the simulation so that you can help yourself.

Please visit Ray tracing (polygon: range from 3-32 faces)

There is a form just below the simulation so that you can enter data points for the polygon.
1. number of polygon points (you should enter correct numer 33>N>2)
2. Xs and Ys coordinates for the polygon(in clockwise direction) you want to create ( comma separated values).
3. xs,ys coordinate for the laser pointer (light source).
Enter value and hit setup (x,y) button ,and the simulation will display what you want.

ali sayed

  • Newbie
  • *
  • Posts: 1
Re: Prism: Reflection and refraction
« Reply #20 on: May 08, 2010, 01:03:28 am »
Dear sir,
I was wondering if you would kindly give me the applet code for this java program. I will be very grateful to you sir...

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Prism: Reflection and refraction
« Reply #21 on: May 08, 2010, 02:41:12 am »
I'm not a demonstration of site is prof Hwang but i can help
You just need to press button Get files for offline use and you
Will receive source code in your E-mail direct
you can do it by your self  :)

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Prism: Reflection and refraction
« Reply #22 on: May 08, 2010, 09:41:40 am »
Or you can use download file to revive in your PC direct too you choose
Download file and after press Get files for offline use


carl_can

  • Newbie
  • *
  • Posts: 1
Re: Prism: Reflection and refraction
« Reply #23 on: February 01, 2011, 09:10:54 pm »
Hello everyone,

I am new to this forum and glad to be a part of this. i hope that i can learn more and share my ideas and thoughts as well.
-*-

Pauline

  • Newbie
  • *
  • Posts: 1
Re: Prism: Reflection and refraction
« Reply #24 on: October 28, 2011, 05:18:58 am »
This is so useful! If dove prism can be used in this simulation, that will be awesome!

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Prism: Reflection and refraction
« Reply #25 on: October 28, 2011, 11:22:33 pm »
You can use the above simulation to find out the condition for the dove prism to work.
i.e. How to cut a prism into a dove prism.

milad

  • Newbie
  • *
  • Posts: 11
Re: Prism: Reflection and refraction
« Reply #26 on: November 25, 2011, 06:53:27 am »
any body can make me biprism diffraction?

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Prism: Reflection and refraction
« Reply #27 on: November 25, 2011, 05:17:40 pm »
Hi milad,

take a look at this java applet may it waht you want Dispersion of light with prism  ;)

bagsbed

  • Newbie
  • Posts: -1
    • Cheap bed in a bag
Re: Prism: Reflection and refraction
« Reply #28 on: April 14, 2012, 04:30:43 pm »
thanks...for...sharing....-*-