Solve for t and the barycentric (u,v); the ray hits iff u≥0, v≥0, u+v≤1, t>0
Run this interactive Computer Graphics demo live below, or download it as a single self-contained HTML file that works offline in any browser or LMS — one of 1,900+ free interactive teaching demos on Notedeck. With Notedeck you upload your own materials and turn them into interactive courseware, question papers with answer keys, and AI-taught lessons.