Optics (refraction) v0.5

Optics (refraction) v0.5

by griffpatch

👁 65,691 ❤️ 2,881 ⭐ 2,384 🔄 58
Created: Jul 6, 2016 Last modified: Nov 26, 2023 Shared: Jul 6, 2016

Description

The Refraction of Light (Rainbow effect) Controls ★ Move the mouse to direct the white laser light ★ Cursor Keys or drag to move the laser light ★ Drag a shape to move, drag its handle to rotate ★ Move to the bottom of the screen to access menu ★ [R] key over a shape to select object to auto spin ★ [L] key to lock the laser beam at the current angle. This is really another work in progress project of curiosity! I've seen some awesome projects in Scratch that simulate light refraction of a laser light, but I've never seen one do the thing I really want to see, and that is simulate the actual splitting of the light wavelengths to produce a rainbow! So... here is a first attempt! Sorry that it lags when things get exciting :) - We really need a different raster painting mode (light based) to allow me to draw the colours without destroying the other lights behind, but we don't have this so there are errors in how it looks (especially when the light should be almost white) Too slow? Try: http://phosphorus.github.io/#115735599 Credit: https://plus.maths.org/content/rainbows Change Log 9 Jul 2016 - v0.5 - Added Light Gun object & rotation point 8 Jul 2016 - v0.4 - Editable objects + spin feature + bug fixes 7 Jul 2016 - v0.3 - Bug fixes 7 Jul 2016 - v0.2 - Speed improvements 7 Jul 2016 - v0.2 - Circular lenses + fixes 6 Jul 2016 - v0.1 - Prisms and light

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects