0.0.6 • Published 6 months ago

@webgpu-art/caterfoil v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Caterfoil - 4D objects rendering on 2D screen

Demo (try with Gamepad) https://webgpu.art/caterfoil.ts/. By holding (face4) button, there are some controls to change w direction.

Caterfoil

Reused some code from https://github.com/WebGPU-Art/lagopus.ts .

4D objects to 2D projection is calculated with Geometric Algebra inner product. And -z and w directions is combined (-z+w)/√2 as depth direction of screen.

License

MIT

0.0.6

6 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.1

7 months ago