RayManworkbook: one lens

Click a diagram to work on it in RayMan. When you are done, Back to workbook brings you here, with your work in the diagram. How workbooks work

1. Three rays

Instructions. From the tip of the object, trace the three rays: the one through the centre of the lens, the one parallel to the axis, and the one through the front focal point. Where do they meet, and how big is the image?

2. Image at infinity

Now the object is at the front focal plane of L1.

Instructions. Trace the three rays from the object tip, extending them about 150 mm beyond L1. Is an image formed? Then add a second lens, also f = 50 mm, a reasonable distance (say 100 mm) after L1. Snap the rays already drawn onto L2 and trace on. Where is the image now, and how big is it?

Making a workbook

Load workbook.js, then add an element for each exercise, with a lasting id and data-src, the starting scene as a .json file next to the page (RayMan's menu → Save makes one). Put the instructions in an element with class rayman-instructions and data-for the exercise's id: they show above RayMan when the student works on it. A rayman-workbook-bar element says where Save and Load go. The page must be served from a web address, not opened from disk.

<script src="https://swcmicroscopy.com/RayMan/workbook.js" defer></script>
<div class="rayman-workbook-bar"></div>
<p><span class="rayman-instructions" data-for="three-rays">Trace the three rays…</span></p>
<div class="rayman-exercise" id="three-rays" data-src="three-rays.json" data-title="Three rays"></div>