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
cedarcantab
Mar 194 min read
Soft Bunny
This is me trying to understand the code from this video https://youtu.be/uCaHXkS2cUg?si=MnitHLo52tBXjwic // ----------------------------...
3 views0 comments
cedarcantab
Mar 192 min read
Position Based Dynamics Bead on Wire
Demo Code from this video https://youtu.be/qISgdDhdCro?si=jXIUH6Uc5z494A_y class Bead { constructor(radius, mass, pos) { this.radius =...
2 views0 comments
cedarcantab
Mar 172 min read
LU Decomposition
LU decomposition algorithm, which is a powerful technique for solving systems of linear equations and other numerical problems. Here’s...
6 views0 comments
cedarcantab
Mar 163 min read
Jacobi method
The Jacobi method is an iterative algorithm used to find solutions for a system of linear equations. Let’s break it down: Problem Setup:...
7 views0 comments
cedarcantab
Mar 163 min read
Linear Equations: Gauss-Seidel
The Gauss-Seidel method is an iterative technique used to solve a system of linear equations. Here’s how it works: System of Equations:...
7 views0 comments
cedarcantab
Mar 161 min read
Blob Physics
https://www.gamedev.net/forums/topic/579014-blob-physics-tutorial/
3 views0 comments
cedarcantab
Mar 147 min read
Position Based Dynamics
class Vertex { constructor(world, body, x, y) { this.position = new Phaser.Math.Vector2(x,y); this.oldPosition = new...
12 views0 comments
cedarcantab
Mar 144 min read
Spring Model Soft body Physics
Inspired by this youtube video here In P5!!! by kraftpy class MassPoint { constructor(x, y, mass, radius, frictionCoeff){ this.pos =...
3 views0 comments
cedarcantab
Mar 142 min read
Buoyancy
<!DOCTYPE html> <html> <head> <title>Buoyancy demo - p2.js physics engine</title> <script src="../build/p2.js"></script> <script...
3 views0 comments
cedarcantab
Mar 124 min read
LCP
The Linear Complementarity Problem (LCP) is a fundamental concept in mathematical optimization and computational mechanics. It involves...
6 views0 comments
cedarcantab
Mar 124 min read
p2 AABB
What is an AABB? An Axis-Aligned Bounding Box is a rectangular box that fully encloses a 3D object or scene, with its edges aligned with...
1 view0 comments
cedarcantab
Mar 114 min read
p2 Capsule
var Shape = require('./Shape') , shallowClone = require('../utils/Utils').shallowClone , vec2 = require('../math/vec2'); ...
0 views0 comments
cedarcantab
Mar 1124 min read
p2 Narrowphase
var vec2 = require('../math/vec2') , sub = vec2.subtract , add = vec2.add , dot = vec2.dot , rotate = vec2.rotate , normalize =...
0 views0 comments
cedarcantab
Mar 102 min read
p2 m joint
<!DOCTYPE html> <html lang="en"> <head> <title>p2.js Canvas mousejoint example</title> <meta charset="utf-8"> <script...
3 views0 comments
cedarcantab
Mar 101 min read
p2 Intersection
/** * Get the intersection point between two line segments. * @static * @method getLineSegmentsIntersection * @param {Array} out * @param...
3 views0 comments
cedarcantab
Mar 102 min read
p2 Circle
var Shape = require('./Shape') , vec2 = require('../math/vec2') , shallowClone = require('../utils/Utils').shallowClone; ...
6 views0 comments
cedarcantab
Mar 105 min read
p2 Convex
var Shape = require('./Shape') , vec2 = require('../math/vec2') , dot = vec2.dot , polyk = require('../math/polyk') , ...
1 view0 comments
cedarcantab
Mar 102 min read
p2 Raycast Result
var vec2 = require('../math/vec2'); var Ray = require('../collision/Ray'); module.exports = RaycastResult; /** * Storage for Ray...
6 views0 comments
cedarcantab
Mar 1019 min read
p2 Body
var vec2 = require('../math/vec2') , add = vec2.add , sub = vec2.subtract , vec2create = vec2.create , decomp =...
1 view0 comments
cedarcantab
Mar 94 min read
p2 Raycast
module.exports = Ray; var vec2 = require('../math/vec2'); /** * A line with a start and end point that is used to intersect shapes. For...
3 views0 comments
Home: Blog2
Home: 配信登録
bottom of page