@sadhaka/loom-engine 0.10.0 → 0.12.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/COMMERCIAL_LICENSE_TERMS.md +74 -0
- package/LICENSE +103 -21
- package/README.md +523 -344
- package/dist/engine.d.ts +6 -1
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +35 -1
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/renderer/shaders/sprite-shader-source.d.ts +4 -0
- package/dist/renderer/shaders/sprite-shader-source.d.ts.map +1 -0
- package/dist/renderer/shaders/sprite-shader-source.js +83 -0
- package/dist/renderer/shaders/sprite-shader-source.js.map +1 -0
- package/dist/renderer/sprite-batcher.d.ts +30 -0
- package/dist/renderer/sprite-batcher.d.ts.map +1 -0
- package/dist/renderer/sprite-batcher.js +146 -0
- package/dist/renderer/sprite-batcher.js.map +1 -0
- package/dist/renderer/texture-atlas.d.ts +24 -0
- package/dist/renderer/texture-atlas.d.ts.map +1 -0
- package/dist/renderer/texture-atlas.js +173 -0
- package/dist/renderer/texture-atlas.js.map +1 -0
- package/dist/renderer/webgl2-device.d.ts +53 -0
- package/dist/renderer/webgl2-device.d.ts.map +1 -0
- package/dist/renderer/webgl2-device.js +596 -0
- package/dist/renderer/webgl2-device.js.map +1 -0
- package/package.json +63 -56
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Loom Engine - Commercial License Terms (Outline)
|
|
2
|
+
|
|
3
|
+
This document is a starting point for negotiation, not a binding offer.
|
|
4
|
+
Final terms are agreed in writing between Misha Mitiev (Licensor) and
|
|
5
|
+
the commercial licensee.
|
|
6
|
+
|
|
7
|
+
## When a commercial license is required
|
|
8
|
+
|
|
9
|
+
When your gross revenue from any product, game, or service that
|
|
10
|
+
incorporates the Loom Engine exceeds **USD $1,000,000 in any consecutive
|
|
11
|
+
12-month period**, you must obtain a commercial license to continue
|
|
12
|
+
using the engine in production.
|
|
13
|
+
|
|
14
|
+
Below this threshold, the [Business Source License 1.1](./LICENSE)
|
|
15
|
+
applies and no commercial license is required.
|
|
16
|
+
|
|
17
|
+
## Standard terms
|
|
18
|
+
|
|
19
|
+
- **Royalty**: 5% of gross revenue above the $1,000,000 threshold per
|
|
20
|
+
license-year, paid quarterly.
|
|
21
|
+
- **Reporting**: Quarterly revenue statement, audit-on-request clause
|
|
22
|
+
(audits limited to once per year, 30-day notice).
|
|
23
|
+
- **Sub-licensing**: Not permitted without separate written agreement.
|
|
24
|
+
- **Patent grant**: Limited grant covering normal engine use; does not
|
|
25
|
+
extend to derivative engines or competing engine products. See
|
|
26
|
+
PRIOR-ART.md for the patent-strategy scope.
|
|
27
|
+
- **Term**: Annual, auto-renewing on the anniversary of the agreement.
|
|
28
|
+
- **Termination**: 90 days notice either side. Royalty obligations
|
|
29
|
+
survive termination for revenue earned during the licensed period.
|
|
30
|
+
- **Jurisdiction**: To be agreed; default Thailand or licensee's home
|
|
31
|
+
jurisdiction with mutual consent.
|
|
32
|
+
|
|
33
|
+
## Negotiable alternatives
|
|
34
|
+
|
|
35
|
+
The Licensor is open to non-standard arrangements, including:
|
|
36
|
+
|
|
37
|
+
- **Lump-sum buyout**: One-time payment in lieu of royalties, scoped to
|
|
38
|
+
a specific product or product line. Pricing varies by project size +
|
|
39
|
+
expected revenue.
|
|
40
|
+
- **Equity-for-license**: Early-stage studios may exchange equity for a
|
|
41
|
+
perpetual royalty-free license. Typical range 0.5%-2% equity for a
|
|
42
|
+
full commercial grant.
|
|
43
|
+
- **Reduced royalty rate**: For OSS projects, cooperatively-owned
|
|
44
|
+
studios, or non-profit ventures, royalty may be reduced or waived.
|
|
45
|
+
- **Distribution-based fees**: For middleware, SDKs, or engine-derived
|
|
46
|
+
toolchains, per-distribution fees may replace revenue royalties.
|
|
47
|
+
|
|
48
|
+
## Pre-publish window (0.10.0 grandfathering)
|
|
49
|
+
|
|
50
|
+
If your project pinned to `@sadhaka/loom-engine@0.10.0` (the only
|
|
51
|
+
release published under MIT) before 2026-05-08, you may continue using
|
|
52
|
+
that version under MIT terms indefinitely. No commercial license is
|
|
53
|
+
required for that specific version.
|
|
54
|
+
|
|
55
|
+
Upgrading to 0.11.0 or later requires accepting BUSL-1.1 terms and, if
|
|
56
|
+
above the revenue threshold, a commercial license.
|
|
57
|
+
|
|
58
|
+
## Contact
|
|
59
|
+
|
|
60
|
+
Email: `licensor@theworldtable.ai`
|
|
61
|
+
|
|
62
|
+
Please include in your inquiry:
|
|
63
|
+
- Company name and primary use case
|
|
64
|
+
- Estimated annual revenue from the product/service using the engine
|
|
65
|
+
- Distribution model (B2C, B2B, internal, etc.)
|
|
66
|
+
- Preferred negotiation framing (royalty / lump-sum / equity / other)
|
|
67
|
+
|
|
68
|
+
Response time: typically within 5 business days.
|
|
69
|
+
|
|
70
|
+
## Disclaimer
|
|
71
|
+
|
|
72
|
+
These outline terms do not constitute a binding offer or contract. A
|
|
73
|
+
commercial license is only effective when both parties have signed a
|
|
74
|
+
written agreement that supersedes this outline.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Business Source License 1.1 - Loom Engine
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: Misha Mitiev
|
|
6
|
+
|
|
7
|
+
Licensed Work: Loom Engine, version 0.11.0 and later
|
|
8
|
+
(c) 2026 Misha Mitiev
|
|
9
|
+
|
|
10
|
+
Additional Use Grant: You may make use of the Licensed Work, provided
|
|
11
|
+
that your gross revenue from any product, game,
|
|
12
|
+
or service that incorporates the Licensed Work
|
|
13
|
+
does not exceed USD $1,000,000 in any consecutive
|
|
14
|
+
12-month period.
|
|
15
|
+
|
|
16
|
+
For use above this threshold, you must obtain a
|
|
17
|
+
commercial license by contacting
|
|
18
|
+
licensor@theworldtable.ai. Standard commercial
|
|
19
|
+
terms include a 5% royalty on excess revenue
|
|
20
|
+
above the threshold; alternative arrangements
|
|
21
|
+
(lump-sum buyouts, equity-for-license) are
|
|
22
|
+
negotiable.
|
|
23
|
+
|
|
24
|
+
Change Date: 2030-05-08
|
|
25
|
+
|
|
26
|
+
Change License: Apache License, Version 2.0
|
|
27
|
+
|
|
28
|
+
For information about alternative licensing arrangements for the
|
|
29
|
+
Licensed Work, please contact licensor@theworldtable.ai.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
Business Source License 1.1
|
|
34
|
+
|
|
35
|
+
License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
|
|
36
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
37
|
+
|
|
38
|
+
Terms
|
|
39
|
+
|
|
40
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
41
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
42
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
43
|
+
production use.
|
|
44
|
+
|
|
45
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
46
|
+
available distribution of a specific version of the Licensed Work under this
|
|
47
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
48
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
49
|
+
above terminate.
|
|
50
|
+
|
|
51
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
52
|
+
currently in effect as described in this License, you must purchase a
|
|
53
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
54
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
55
|
+
|
|
56
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
57
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
58
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
59
|
+
for each version of the Licensed Work released by Licensor.
|
|
60
|
+
|
|
61
|
+
You must conspicuously display this License on each original or modified copy
|
|
62
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
63
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
64
|
+
License apply to your use of that work.
|
|
65
|
+
|
|
66
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
67
|
+
terminate your rights under this License for the current and all other
|
|
68
|
+
versions of the Licensed Work.
|
|
69
|
+
|
|
70
|
+
This License does not grant you any right in any trademark or logo of
|
|
71
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
72
|
+
Licensor as expressly required by this License).
|
|
73
|
+
|
|
74
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
75
|
+
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
76
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
77
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
78
|
+
TITLE.
|
|
79
|
+
|
|
80
|
+
MariaDB hereby grants you permission to use this License’s text to license
|
|
81
|
+
your works, and to refer to it using the trademark “Business Source License”,
|
|
82
|
+
as long as you comply with the Covenants of Licensor below.
|
|
83
|
+
|
|
84
|
+
Covenants of Licensor
|
|
85
|
+
|
|
86
|
+
In consideration of the right to use this License’s text and the “Business
|
|
87
|
+
Source License” name and trademark, Licensor covenants to MariaDB, and to all
|
|
88
|
+
other recipients of the licensed work to be provided by Licensor:
|
|
89
|
+
|
|
90
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
|
91
|
+
or a license that is compatible with GPL Version 2.0 or a later version,
|
|
92
|
+
where “compatible” means that software provided under the Change License can
|
|
93
|
+
be included in a program with software provided under GPL Version 2.0 or a
|
|
94
|
+
later version. Licensor may specify additional Change Licenses without
|
|
95
|
+
limitation.
|
|
96
|
+
|
|
97
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
98
|
+
impose any additional restriction on the right granted in this License, as
|
|
99
|
+
the Additional Use Grant; or (b) insert the text “None”.
|
|
100
|
+
|
|
101
|
+
3. To specify a Change Date.
|
|
102
|
+
|
|
103
|
+
4. Not to modify this License in any other way.
|