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

Marching Squares / Meta-Balls
The Marching Squares algorithm is a computer graphics technique used to generate contours for a two-dimensional scalar field, which is...
cedarcantab
Jul 2, 20235 min read
4 views
0 comments
Shapematching [WIP]
The shape matching problem Consider a point set (the black points below) that defines a certain rigid shape. Suppose you move these...
cedarcantab
Jun 29, 20232 min read
1 view
0 comments

Extending Box2D-Lite in Javascript: Distance Joint
It's been a while since I finished with my walkthrough of Box2D-Lite. I thought I would add features that are not available in the...
cedarcantab
Jun 23, 20233 min read
12 views
0 comments
![Softbody Physics [WIP]](https://static.wixstatic.com/media/e41812_5d5c6e8c57da4efc8454e1a7fd3a3695~mv2.png/v1/fill/w_328,h_247,fp_0.50_0.50,q_95,enc_avif,quality_auto/e41812_5d5c6e8c57da4efc8454e1a7fd3a3695~mv2.webp)
Softbody Physics [WIP]
function CreateBall(x, y, radius, res) { var offset = 0; for (var i = 0; i < Math.PI 2; i += Math.PI 2 / res) { var cx = x +...
cedarcantab
Jun 22, 20234 min read
2 views
0 comments

Verlet Physics+ Circle vs Circle Collision
class Dot extends Phaser.Geom.Point { constructor(scene, x, y, r) { super(x, y); this.scene = scene; // console.log("TIME=",...
cedarcantab
Jun 17, 20231 min read
11 views
0 comments

Verlet Physics: Convex Polygon Collisions
Rigid Bodies class Vertex { constructor(world, body, x, y) { this.position = new Phaser.Math.Vector2(x,y); this.oldPosition = new...
cedarcantab
Jun 15, 202314 min read
8 views
0 comments

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: Softening constraints
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 21, 20221 min read
24 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: Contact constraint
All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and Drawing Boxes Unconstrained Dynamics...
cedarcantab
Sep 7, 20221 min read
91 views
0 comments

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

Box2D-Lite Walkthrough in Javascript: Generating Contact Points
Contact Points using Clipping Method All my Box2D-Lite posts have been transferred to my new blog site: Introduction Different Spaces and...
cedarcantab
Aug 30, 20221 min read
51 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

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

Phaser Coding Tips1&2 Revisited, Part 4: Pixel Based Physics
Destructible Terrain and Pixel based Physics In this post here I had faithfully followed and recreated in Phaser 3, the amazing tutorial...
cedarcantab
Aug 20, 20225 min read
71 views
0 comments

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

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

Understanding 2D Physics Engines with Phaser 3, Part 23.2: Constrained Dynamics: Contact Constraint
In the prior post started our exploration into the world of constraint solvers by looking at constraint functions. In this post we will...
cedarcantab
Jul 18, 20224 min read
32 views
0 comments
Home: Blog2
Home: 配信登録
bottom of page