@tsparticles/updater-orbit 4.0.0-alpha.5 → 4.0.0-alpha.8
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/478.min.js.LICENSE.txt +1 -1
- package/browser/OrbitUpdater.js +1 -3
- package/browser/index.js +1 -1
- package/cjs/OrbitUpdater.js +1 -3
- package/cjs/index.js +1 -1
- package/dist_browser_OrbitUpdater_js.js +1 -1
- package/esm/OrbitUpdater.js +1 -3
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/report.html +3 -3
- package/tsparticles.updater.orbit.js +2 -2
- package/tsparticles.updater.orbit.min.js +1 -1
- package/tsparticles.updater.orbit.min.js.LICENSE.txt +1 -1
- package/umd/OrbitUpdater.js +1 -3
- package/umd/index.js +1 -1
package/478.min.js.LICENSE.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Orbit Updater v4.0.0-alpha.
|
|
1
|
+
/*! tsParticles Orbit Updater v4.0.0-alpha.8 by Matteo Bruni */
|
package/browser/OrbitUpdater.js
CHANGED
|
@@ -48,9 +48,7 @@ export class OrbitUpdater {
|
|
|
48
48
|
particle.orbitRotation = getRangeValue(orbitOptions.rotation.value);
|
|
49
49
|
particle.orbitColor = rangeColorToHsl(this._engine, orbitOptions.color);
|
|
50
50
|
particle.retina.orbitRadius =
|
|
51
|
-
orbitOptions.radius !== undefined
|
|
52
|
-
? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio
|
|
53
|
-
: undefined;
|
|
51
|
+
orbitOptions.radius !== undefined ? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio : undefined;
|
|
54
52
|
container.retina.orbitRadius = particle.retina.orbitRadius;
|
|
55
53
|
particle.orbitAnimationSpeed = orbitOptions.animation.enable
|
|
56
54
|
? getRangeValue(orbitOptions.animation.speed)
|
package/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadOrbitUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-alpha.
|
|
2
|
+
engine.checkVersion("4.0.0-alpha.8");
|
|
3
3
|
await engine.register(e => {
|
|
4
4
|
e.addParticleUpdater("orbit", async (container) => {
|
|
5
5
|
const { OrbitUpdater } = await import("./OrbitUpdater.js");
|
package/cjs/OrbitUpdater.js
CHANGED
|
@@ -48,9 +48,7 @@ export class OrbitUpdater {
|
|
|
48
48
|
particle.orbitRotation = getRangeValue(orbitOptions.rotation.value);
|
|
49
49
|
particle.orbitColor = rangeColorToHsl(this._engine, orbitOptions.color);
|
|
50
50
|
particle.retina.orbitRadius =
|
|
51
|
-
orbitOptions.radius !== undefined
|
|
52
|
-
? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio
|
|
53
|
-
: undefined;
|
|
51
|
+
orbitOptions.radius !== undefined ? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio : undefined;
|
|
54
52
|
container.retina.orbitRadius = particle.retina.orbitRadius;
|
|
55
53
|
particle.orbitAnimationSpeed = orbitOptions.animation.enable
|
|
56
54
|
? getRangeValue(orbitOptions.animation.speed)
|
package/cjs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadOrbitUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-alpha.
|
|
2
|
+
engine.checkVersion("4.0.0-alpha.8");
|
|
3
3
|
await engine.register(e => {
|
|
4
4
|
e.addParticleUpdater("orbit", async (container) => {
|
|
5
5
|
const { OrbitUpdater } = await import("./OrbitUpdater.js");
|
package/esm/OrbitUpdater.js
CHANGED
|
@@ -48,9 +48,7 @@ export class OrbitUpdater {
|
|
|
48
48
|
particle.orbitRotation = getRangeValue(orbitOptions.rotation.value);
|
|
49
49
|
particle.orbitColor = rangeColorToHsl(this._engine, orbitOptions.color);
|
|
50
50
|
particle.retina.orbitRadius =
|
|
51
|
-
orbitOptions.radius !== undefined
|
|
52
|
-
? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio
|
|
53
|
-
: undefined;
|
|
51
|
+
orbitOptions.radius !== undefined ? getRangeValue(orbitOptions.radius) * container.retina.pixelRatio : undefined;
|
|
54
52
|
container.retina.orbitRadius = particle.retina.orbitRadius;
|
|
55
53
|
particle.orbitAnimationSpeed = orbitOptions.animation.enable
|
|
56
54
|
? getRangeValue(orbitOptions.animation.speed)
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadOrbitUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-alpha.
|
|
2
|
+
engine.checkVersion("4.0.0-alpha.8");
|
|
3
3
|
await engine.register(e => {
|
|
4
4
|
e.addParticleUpdater("orbit", async (container) => {
|
|
5
5
|
const { OrbitUpdater } = await import("./OrbitUpdater.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/updater-orbit",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.8",
|
|
4
4
|
"description": "tsParticles particles orbit updater",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"./package.json": "./package.json"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@tsparticles/engine": "4.0.0-alpha.
|
|
104
|
+
"@tsparticles/engine": "4.0.0-alpha.8"
|
|
105
105
|
},
|
|
106
106
|
"publishConfig": {
|
|
107
107
|
"access": "public"
|