Search for a command to run...
Snell Laser, hosted at Física Games web portal, is an interactive educational software and hyper-casual puzzle game focused on the concepts of Geometric Optics. Players are challenged to manipulate light beams using mirrors, glass blocks with different refractive indices, and beam splitters. The main objective is to guide the laser around opaque obstacles to hit luminous targets. The simulation rewards optimized trajectories: paths utilizing multiple reflections and refractions generate higher scores, encouraging the exploration of the geometric possibilities in each of the 12 progressive levels. Physics Concepts and Educational Value:The game serves as a playful representation of the Snell-Descartes Law and the Law of Reflection. When directing light into a glass block, the player observes the refractive deviation in real-time. A central element of the simulation is the practical application of the Critical Angle: when light travels from a medium with a higher refractive index to one with a lower index at an angle greater than the critical angle, Total Internal Reflection (TIR) occurs. The game scores these interactions distinctively, demonstrating these theoretical concepts in practice. Technical Architecture:The software was entirely developed using an open-source stack. The core architecture relies on a proprietary MVC (Model-View-Controller) framework written in TypeScript. It utilizes the Babylon.js engine for 3D rendering and GUI management. Eschewing third-party physics engines, the light propagation and collision logic is driven by a custom mathematical 2D Raycasting algorithm (AABB/OBB intersections) developed specifically for this simulation. Performance is highly optimized for mobile browsers through the Factory Pattern for GPU material reuse, ensuring a stable 60 FPS experience without Memory Leaks. How to Access:The playable version of this simulation is permanently hosted at: www.fisicagames.com.br