Franks laboratory
Creative coding experiments, generative art & game development with vanilla JavaScript & HTML canvas. No frameworks and no libraries. Every project is explained line by line as I write the code using just plain vanilla JavaScript & HTML5 canvas element. If you want to SUPPORT me you can use the links below and get some one my EXTENDED classes! :) https://www.udemy.com/course/learn-creative-coding-with-vanilla-javascript/?referralCode=7C560D4661C5C59262BB https://www.udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2 https://www.udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E https://www.udemy.com/course/remake-retro-games-with-javascript/?referralCode=2ACCA21F16FE78E631F7 Get Skillshare FREE for 1 month: https://www.skillshare.com/en/r/profile/Frank-Dvorak/507488567?gr_tch_ref=on&gr_trp=on

The Formula Every Game Developer Needs to Know
The video explains how to implement efficient circle-circle collision detection (using squared distances to avoid square roots) and uses it as the building block for many interactions in a 2D game. It then shows how to structure a data-driven, modular starter kit with separate managers for collisions, audio, images, and UI, using events to decouple systems (e.g., player damaged and enemy died) and prepare a reusable framework for future games.

The Math Formula Every Game Developer Needs to Know
The video explains how to implement basic circle-based collision detection and a modular, data-driven game architecture. It covers using geometry and squared distance for collision checks, creating dedicated managers (collision, image, audio) to keep code organized, and building a layered, animated health bar driven by CSS and events. It also demonstrates wiring game events to UI updates and audio, while keeping assets data-driven and ready for expansion.
Get daily AI recaps from
Franks laboratory in your inbox
Get AI-powered summaries delivered to your inbox. Save hours every week while staying fully informed.




