avbd-babylon 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/NOTICE ADDED
@@ -0,0 +1,145 @@
1
+ AVBD WebGPU incorporates the MIT-licensed three-avbd solver by Steven Bobyn.
2
+ Pinned source: https://github.com/sbobyn/three-avbd/tree/b3675dea83c78aba9644b059975f48285bf02a47
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2026 Steven Bobyn
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
25
+
26
+ Upstream third-party notices (preserved from three-avbd):
27
+
28
+ # Third-party notices
29
+
30
+ This project ports and builds on the following software. Their licences require the notices
31
+ below to accompany copies or substantial portions of it.
32
+
33
+ ## avbd-demo2d and avbd-demo3d (Chris Giles)
34
+
35
+ <https://github.com/savant117/avbd-demo2d>, <https://github.com/savant117/avbd-demo3d>: the
36
+ reference C++ implementations of Augmented Vertex Block Descent. `src/avbd2d/ref/` and
37
+ `src/avbd3d/ref/` are TypeScript ports of their solvers, collision and scenes, and the GPU
38
+ solvers follow the same formulation. `tools/cpp-oracle` compiles the unmodified sources, fetched
39
+ into the git-ignored `reference/` directory, to test the ports against.
40
+
41
+ Repository licence:
42
+
43
+ ```
44
+ MIT License
45
+
46
+ Copyright (c) 2025 Chris Giles
47
+
48
+ Permission is hereby granted, free of charge, to any person obtaining a copy
49
+ of this software and associated documentation files (the "Software"), to deal
50
+ in the Software without restriction, including without limitation the rights
51
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
52
+ copies of the Software, and to permit persons to whom the Software is
53
+ furnished to do so, subject to the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be included in all
56
+ copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
59
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
61
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
62
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
63
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64
+ SOFTWARE.
65
+ ```
66
+
67
+ Source file notice (avbd-demo2d, © 2025; avbd-demo3d, © 2026):
68
+
69
+ ```
70
+ Copyright (c) 2025 Chris Giles
71
+ Copyright (c) 2026 Chris Giles
72
+
73
+ Permission to use, copy, modify, distribute and sell this software
74
+ and its documentation for any purpose is hereby granted without fee,
75
+ provided that the above copyright notice appear in all copies.
76
+ Chris Giles makes no representations about the suitability
77
+ of this software for any purpose.
78
+ It is provided "as is" without express or implied warranty.
79
+ ```
80
+
81
+ ## box2d-lite (Erin Catto)
82
+
83
+ <https://github.com/erincatto/box2d-lite>: avbd-demo2d's box-box collision was copied and
84
+ modified from it, and `src/avbd2d/ref/collide.ts` (with the SoA and GPU versions derived from
85
+ it) ports that code.
86
+
87
+ ```
88
+ MIT License
89
+
90
+ Copyright (c) 2019 Erin Catto
91
+
92
+ Permission is hereby granted, free of charge, to any person obtaining a copy
93
+ of this software and associated documentation files (the "Software"), to deal
94
+ in the Software without restriction, including without limitation the rights
95
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
96
+ copies of the Software, and to permit persons to whom the Software is
97
+ furnished to do so, subject to the following conditions:
98
+
99
+ The above copyright notice and this permission notice shall be included in all
100
+ copies or substantial portions of the Software.
101
+
102
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
103
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
104
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
105
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
106
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
107
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
108
+ SOFTWARE.
109
+ ```
110
+
111
+ ## three.js
112
+
113
+ <https://threejs.org>: rendering, bundled into the demo pages.
114
+
115
+ ```
116
+ The MIT License
117
+
118
+ Copyright © 2010-2026 three.js authors
119
+
120
+ Permission is hereby granted, free of charge, to any person obtaining a copy
121
+ of this software and associated documentation files (the "Software"), to deal
122
+ in the Software without restriction, including without limitation the rights
123
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
124
+ copies of the Software, and to permit persons to whom the Software is
125
+ furnished to do so, subject to the following conditions:
126
+
127
+ The above copyright notice and this permission notice shall be included in all
128
+ copies or substantial portions of the Software.
129
+
130
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
131
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
132
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
133
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
134
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
135
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
136
+ SOFTWARE.
137
+ ```
138
+
139
+ ## The paper
140
+
141
+ Chris Giles, Elie Diaz, Cem Yuksel. *Augmented Vertex Block Descent.* ACM Transactions on
142
+ Graphics 44(4), Article 90 (SIGGRAPH 2025). <https://doi.org/10.1145/3731195>. The paper is
143
+ published under the Creative Commons Attribution 4.0 International License; this project
144
+ implements its method and compares against the times it reports, but reproduces none of its
145
+ text or figures.
package/dist/avbd.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./babylonAvbd.js";
2
+ export * from "./nativeScenes.js";
3
+ export * from "./gpuDevice.js";
@@ -0,0 +1,2 @@
1
+ export as namespace AVBD;
2
+ export * from "./avbd.js";