top of page
COZY COZY WORLD
I am an ordinary Japanese salaryman in his 50's.
The posts are mostly about my attempts at programming which I have taken up recently to maintain logical thinking.
And a bit about my travels around the country.
Home: ようこそ!
Search

Box2D-Lite Walkthrough in Javascript: Warm Starting
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 25, 20221 min read
43 views
0 comments

Box2D-Lite Walkthrough in Javascript: Revolute Joint
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 20, 20221 min read
54 views
0 comments

Box2D-Lite Walkthrough in Javascript: Friction
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 13, 20221 min read
35 views
0 comments

Box2D-Lite Walkthrough in Javascript: Solving Constraints
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 8, 20221 min read
28 views
0 comments

Box2D-Lite Walkthrough in Javascript: Collision Detection
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Aug 23, 20221 min read
37 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 23.1: Constrained Dynamics: Introduction
Introduction In this post I start to look into the deep world of Constraints and Constraint Solvers. You will appreciate why I say deep,...
cedarcantab
Jul 17, 20228 min read
40 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 21: Local (Model) space vs World space
Local vs World space In this post I document the introduction of the concept of local space vs world space. Frankly, the concepts are not...
cedarcantab
Jul 4, 20225 min read
25 views
0 comments

2D Raycasting using Phaser 3, Part 4
Exploring the Geom.Intersects.GetLineToPolygon method In my exploration of 2D raycasting using Phaser 3, I created simple 2D raycasters...
cedarcantab
Jun 12, 20226 min read
110 views
0 comments

Mass Moment of Inertia: Arbitrary Triangle
Momentum and Impulse In this post I try to explain how the moment of inertia of an arbitrary triangle may be derived (full disclosure:...
cedarcantab
Jun 9, 20222 min read
4 views
0 comments

Mass Moment of Inertia: Rectangle
Before continuing our challenge to derive the mmoi for other shapes, I will introduce two important theorems that will help us as we deal...
cedarcantab
Jun 6, 20222 min read
10 views
0 comments

Mass Moment of Inertia (MMOI): Introduction
Angular Momentum, Moment of Inertia In prior posts we have discussed momentum, which we have assumed to be mass x velocity. In a world...
cedarcantab
Jun 5, 20224 min read
18 views
0 comments

Center of Mass of Lamina: Arbitrary Triangle
In the previous post we worked through the calculation of the centroid of an isosceles triangle. In this post we delve into the...
cedarcantab
Jun 1, 20223 min read
5 views
0 comments

Sloped Tile Collision Detection in Phaser 3
Making Characters Climb Sloped Tiles After a long and tortuous journey I finally managed to get CozyPhysics engine to work with partial...
cedarcantab
May 28, 20228 min read
97 views
0 comments

Partial Tile Collision in Phaser 3: Climbing "Slopes"
Having worked out the basic logic for detecting collisions with partial tiles, there is light at the end of the tunnel to making Mario...
cedarcantab
May 14, 20225 min read
42 views
0 comments

Partial Tile Collision in Phaser 3: The Basics
Finally, we go beyond recreating (cut-down version of) Phaser's arcade physics engine, and tackle the problem of partial tiles. The...
cedarcantab
May 14, 20224 min read
50 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 2
Introducing gravity and bounce In the previous post I got as far as recreating basic tile collisions for my CozyPhysics engine. The...
cedarcantab
May 13, 20224 min read
24 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 1
Cozy Physics Engine: Starting from the beginning Now that I have gained some understanding of how Phaser's arcade physics engine deals...
cedarcantab
May 12, 20229 min read
55 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 0B
In this post, I continue to explore the insides of the Phaser arcade physics engine relating to sprite vs tile collisions. Detecting...
cedarcantab
May 10, 20227 min read
26 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 0A
In my exploration of the various mechanics involved tile map based games, I have, among others, used the original Donkey Kong game (which...
cedarcantab
May 9, 202210 min read
64 views
0 comments

"One-way" / "Pass-through" Platforms in Phaser 3: Tile Maps
As we saw in the previous post, it is remarkably easy to create "one-way" platforms using sprites. However, what about using tilemaps?...
cedarcantab
May 5, 20224 min read
134 views
0 comments
Home: Blog2
Home: 配信登録
bottom of page