[{"data":1,"prerenderedAt":113},["ShallowReactive",2],{"project-laser-reactor":3},{"id":4,"title":5,"available":6,"badges":7,"body":11,"client":90,"date":91,"description":92,"development":93,"duration":94,"extension":95,"image":96,"meta":97,"navigation":93,"path":98,"preview_type":10,"privacy":99,"role":100,"seo":101,"short_description":102,"status":103,"stem":104,"technology":105,"url":85,"weight":111,"__hash__":112},"projects/projects/laser-reactor.md","Laser Reactor",false,[8,9,10],"code","design","mobile",{"type":12,"value":13,"toc":84},"minimark",[14,21,24,29,51,55,81],[15,16,17,20],"p",{},[18,19,5],"strong",{}," is a puzzle game played on a grid. A source emits a laser beam, and the goal is to route it into the reactor by placing and rotating pieces. The reactor charges only when the beam hits it without a break for about a second and a half, with the power and color that the level requires.",[15,22,23],{},"There are 100+ levels, all designed by hand, and new ones are still being added.",[25,26,28],"h2",{"id":27},"mechanics","Mechanics",[30,31,32,39,45],"ul",{},[33,34,35,38],"li",{},[18,36,37],{},"Optics."," Mirrors, half mirrors, splitters, lenses that raise beam power, prisms that change its color, filters and dichroic mirrors that react to one color only, polarizers and portals.",[33,40,41,44],{},[18,42,43],{},"Obstacles and locks."," Weak blocks that break under a strong enough beam, keys and gates matched by color and shape, fog of war.",[33,46,47,50],{},[18,48,49],{},"Energy."," Later levels add a second layer on top of the laser: solar panels, cables, capacitors, transformers, Tesla towers, boilers that produce steam, and fans that produce wind.",[25,52,54],{"id":53},"how-it-is-built","How it is built",[30,56,57,63,69,75],{},[33,58,59,62],{},[18,60,61],{},"Tick-based simulator."," The beam moves one cell per tick, so effects have a visible order: a block cracks before the beam passes, a receiver starts emitting a moment after it is hit.",[33,64,65,68],{},[18,66,67],{},"Beam rendering."," The laser is drawn with Three.js and a custom GLSL shader. The pieces are Vue components, with GSAP for animation. There is also an experimental PixiJS renderer that draws the whole board on one canvas, which I use to compare performance on phones.",[33,70,71,74],{},[18,72,73],{},"Level design."," I design the levels myself. Two CLI generators are only a helper: they produce candidate layouts from a seed and a difficulty profile, and a solver checks that a layout can be completed.",[33,76,77,80],{},[18,78,79],{},"Around the game."," An in-game codex of pieces, tutorial overlays, hints, undo, ambient music and sound effects, English and Polish.",[15,82,83],{},"The app is a Nuxt 4 SPA that works as a PWA and is packaged for Android with Capacitor.",{"title":85,"searchDepth":86,"depth":86,"links":87},"",2,[88,89],{"id":27,"depth":86,"text":28},{"id":53,"depth":86,"text":54},"Personal Project","2026-04-23","Laser Reactor is a puzzle game played on a grid. A source emits a laser beam, and the goal is to route it into the reactor by placing and rotating pieces. The reactor charges only when the beam hits it without a break for about a second and a half, with the power and color that the level requires.",true,"Ongoing","md","laser-energy.png",{},"/projects/laser-reactor",null,"Fullstack Developer",{"title":5,"description":92},"Optical puzzle game: place and rotate mirrors, prisms and lenses to route a laser beam into the reactor across 100+ levels","In development","projects/laser-reactor",[106,107,108,109,110],"nuxt","vue","typescript","tailwind","capacitor",84,"epAjCT2bOEHLSvZW1K3fff_6Y7vMadPpoFOF7o90pkQ",1795685029540]