Tag

vector math

1 views collected around this technical thread.

Architecture Development Notes
Architecture Development Notes
Dec 1, 2024 · Game Development

Building a Rust Physics Engine with SAT Collision Detection

This article walks through creating a Rust physics engine by implementing collision detection using the Separating Axis Theorem, covering point extraction, vector math, projection, overlap checks, and handling both rectangle‑rectangle and circle‑square collisions with complete code examples.

Physics EngineRustSAT
0 likes · 8 min read
Building a Rust Physics Engine with SAT Collision Detection
ByteFE
ByteFE
Sep 14, 2021 · Frontend Development

Drawing Fractals with HTML5 Canvas: Theory, Vector Mathematics, and Recursive Implementations

This article explains the mathematical foundations of fractals, demonstrates how to use Canvas coordinate transformations and vector operations, and provides complete JavaScript code for drawing classic fractals such as the Koch snowflake, hexagonal snowflake, and a binary tree using recursive algorithms.

Graphicscanvasfractals
0 likes · 14 min read
Drawing Fractals with HTML5 Canvas: Theory, Vector Mathematics, and Recursive Implementations