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


Extending Box2D-Lite in Javascript: Reboot
I was almost obsessed with converting Box2D-Lite into Javascript. It's been over a year since I completed the project, and I had not...
cedarcantab
Aug 28, 20239 min read
12 views
0 comments


Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Pulley Joint
The PulleyJoint class represents a joint connecting two bodies by a fixed length “rope.” The PulleyJoint only limits translation along...
cedarcantab
Aug 10, 20233 min read
4 views
0 comments


Extending Box2D-Lite in Javascript: Block Solver
We can solve a small number of constraints simultaneously to improve SI. For example, in 2D collision between convex shapes there is one...
cedarcantab
Aug 9, 20235 min read
17 views
0 comments


Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Line Constraint
The line constraint is a constraint that restricts the movement of a pair of bodies to a prescribed "line". Dyn4j sites a car on a roller...
cedarcantab
Aug 9, 20232 min read
1 view
0 comments


Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Angle Constraint
The AngleJoint class represents a joint connecting two bodies limiting their angles. This is similar to the RevoluteJoint when limits are...
cedarcantab
Aug 8, 20231 min read
0 views
0 comments


Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Motor Constraint
// MIT License // Copyright (c) 2019 Erin Catto // Permission is hereby granted, free of charge, to any person obtaining a copy // of...
cedarcantab
Aug 6, 20234 min read
4 views
0 comments
![Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Mouse Grabber Joint [WIP]](https://static.wixstatic.com/media/e41812_8a029429003d4a64bbe39e46c29902a6~mv2.png/v1/fill/w_407,h_132,fp_0.50_0.50,lg_1,q_35,blur_30,enc_avif,quality_auto/e41812_8a029429003d4a64bbe39e46c29902a6~mv2.webp)
![Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Mouse Grabber Joint [WIP]](https://static.wixstatic.com/media/e41812_8a029429003d4a64bbe39e46c29902a6~mv2.png/v1/fill/w_291,h_94,fp_0.50_0.50,q_95,enc_avif,quality_auto/e41812_8a029429003d4a64bbe39e46c29902a6~mv2.webp)
Extending Phaser 3 Geom.Rectangle to Box2D-Lite, Part XX: Mouse Grabber Joint [WIP]
mouse constraints. It is a very easy constraint to implement, and you don’t need any broad phase or narrow phase, just the resolution...
cedarcantab
Jul 17, 20237 min read
5 views
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_332,h_250,fp_0.50_0.50,lg_1,q_35,blur_30,enc_avif,quality_auto/e41812_5d5c6e8c57da4efc8454e1a7fd3a3695~mv2.webp)
![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: 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
Home: Blog2
Home: 配信登録
bottom of page