## An Animated Ray Tracing Model for Spherical Mirrors – video preview

This is a video preview to a previously posted ray tracing model.Continue Reading

Science, Engineering, Games in Excel & VBA

Primary Navigation Menu

2011-07-18

This is a video preview to a previously posted ray tracing model.Continue Reading

2011-05-05

This is a demonstrative model for 2D spherical mirror ray tracing in Excel displaying both the real reflected rays and the virtual reflected rays. You you have the option of turning the visibility of the virtual rays off if you wish. It works in Excel 2003 at about 40 frames per second and in Excel 2007 at about 4 frames per second.Continue Reading

2011-05-03

Based on the formulas derived up to this point in the series, this section creates an improved custom VBA function which calculates the x-y Cartesian coordinates of three points: the incident point, the terminal point of the real reflected ray and the terminal point of the virtual reflected ray. The structure of the function is fairly simple and it isContinue Reading

2011-05-02

This section simplifies the formula for the Cartesian coordinates of the terminal point of the reflected ray and derives a very similar formula for a terminal point of the virtual reflected ray. In the next section all these new formulas together with some old formulas will be combined into a new user defined VBA function which will be used aloneContinue Reading

2011-05-01

This brief section takes the two previously created custom VBA functions (Reflect() and Chart_Reflect()) and use them to create the data for both the incident and the reflected bundles of rays within the same table. The data is then plotted on the same chart with the mirror and the result is a preliminary model which you can experiment with. [sociallocker][/sociallocker]Continue Reading

2011-04-30

This is a demonstrative model for 2D spherical mirror ray tracing in Excel. It works in Excel 2003 at about 40 frames per second and in Excel 2007 at about 4 frames per second. You can start it in a hands-off demo mode by clicking the “Fully Automatic Demo” button and at any time you can hit the the “DemoContinue Reading

2011-04-29

This section begins by charting the incident rays on the same 2D acatter chart with the mirror and then explains how to derive the Cartesian coordinates for a “final” point which together with the point of incidence will define the reflected ray. A custom VBA function is created for this purpose. [sociallocker][/sociallocker] Introduction to Geometrical Optics – a 2D rayContinue Reading

2011-04-28

This section explains explains how to implement the formulas that define the emergent (reflected) rays into a custom VBA function. Though geometrically the last two presentation might look a little elaborate, just be patient and follow the presentation, or even better try to just sneak peek and do it yourself. All this derivation is done based on first principles and some basicContinue Reading

2011-04-27

This section explains the illumination setup by using an artificial star, derives the equations of the incident rays and also solves the system of equations for finding the exact coordinates of the points where the incident rays hit the mirror. Looking at the sign of the determinant of a quadratic equation involved in finding the intersection between an incoming rayContinue Reading

2011-04-26

This is a first post of an introduction to optics series and it explain how to create a 2D ray tracing model for a spherical mirror. This section deals with the creation and charting of the mirror using a parametric equation for a circle. [sociallocker][/sociallocker] Introduction to Geometrical Optics – a 2D ray tracing Excel model for spherical mirrors – Part 1Continue Reading