index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/package.json
{ "name": "tsparticles-updater-life", "version": "2.12.0", "description": "tsParticles particles life updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.d...
4,700
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,701
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,702
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,703
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,704
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,705
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,706
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Life Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,707
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "life", updaterName: "Life", version, dir: __dirname });
4,708
0
petrpan-code/tsparticles/tsparticles/updaters/life
petrpan-code/tsparticles/tsparticles/updaters/life/src/LifeUpdater.ts
import { type Container, type IDelta, type IParticleUpdater, type Particle, type RecursivePartial, getRandom, getRangeValue, randomInRange, setRangeValue, } from "tsparticles-engine"; import type { ILifeParticlesOptions, LifeParticle, LifeParticlesOptions } from "./Types"; import { L...
4,709
0
petrpan-code/tsparticles/tsparticles/updaters/life
petrpan-code/tsparticles/tsparticles/updaters/life/src/Types.ts
import type { IParticlesOptions, Particle, ParticlesOptions } from "tsparticles-engine"; import type { ILife } from "./Options/Interfaces/ILife"; import type { Life } from "./Options/Classes/Life"; export interface IParticleLife { count: number; delay: number; delayTime: number; duration: number; t...
4,710
0
petrpan-code/tsparticles/tsparticles/updaters/life
petrpan-code/tsparticles/tsparticles/updaters/life/src/index.ts
import type { Engine } from "tsparticles-engine"; import { LifeUpdater } from "./LifeUpdater"; /** * @param engine - * @param refresh - */ export async function loadLifeUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("life", (container) => new LifeUpdater(container), ref...
4,711
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Classes/Life.ts
import type { IOptionLoader, RecursivePartial } from "tsparticles-engine"; import type { ILife } from "../Interfaces/ILife"; import { LifeDelay } from "./LifeDelay"; import { LifeDuration } from "./LifeDuration"; export class Life implements ILife, IOptionLoader<ILife> { count; delay; duration; constr...
4,712
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Classes/LifeDelay.ts
import { type IOptionLoader, type RecursivePartial, ValueWithRandom } from "tsparticles-engine"; import type { ILifeDelay } from "../Interfaces/ILifeDelay"; export class LifeDelay extends ValueWithRandom implements ILifeDelay, IOptionLoader<ILifeDelay> { sync; constructor() { super(); this.syn...
4,713
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Classes/LifeDuration.ts
import { type IOptionLoader, type RecursivePartial, ValueWithRandom } from "tsparticles-engine"; import type { ILifeDuration } from "../Interfaces/ILifeDuration"; export class LifeDuration extends ValueWithRandom implements ILifeDuration, IOptionLoader<ILifeDuration> { sync; constructor() { super(); ...
4,714
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Interfaces/ILife.ts
import type { ILifeDelay } from "./ILifeDelay"; import type { ILifeDuration } from "./ILifeDuration"; export interface ILife { count: number; delay: ILifeDelay; duration: ILifeDuration; }
4,715
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Interfaces/ILifeDelay.ts
import type { IValueWithRandom } from "tsparticles-engine"; export interface ILifeDelay extends IValueWithRandom { sync: boolean; }
4,716
0
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options
petrpan-code/tsparticles/tsparticles/updaters/life/src/Options/Interfaces/ILifeDuration.ts
import type { IValueWithRandom } from "tsparticles-engine"; export interface ILifeDuration extends IValueWithRandom { sync: boolean; }
4,717
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/.browserslistrc
since 2019 not dead
4,718
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/.eslintignore
dist node_modules
4,719
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,720
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/.npmignore
report.html
4,721
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [2.12.0](https://github.com/matteobruni/tsparticles/compare/v2.11.1...v2.12.0) (2023-08-03) **Note:** Version bump only for package tsparticles-update...
4,722
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/LICENSE
MIT License Copyright (c) 2020 Matteo Bruni Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
4,723
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Opacity Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-opacity/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-opacity) [![npmjs](https://badge.fury.io/js/tsparticles-up...
4,724
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/package.dist.json
{ "name": "tsparticles-updater-opacity", "version": "2.12.0", "description": "tsParticles particles opacity updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/opacity" }, "keywords...
4,725
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/package.json
{ "name": "tsparticles-updater-opacity", "version": "2.12.0", "description": "tsParticles particles opacity updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add pac...
4,726
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,727
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,728
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,729
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,730
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,731
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,732
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Opacity Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,733
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/opacity/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "opacity", updaterName: "Opacity", version, dir: __dirname });
4,734
0
petrpan-code/tsparticles/tsparticles/updaters/opacity
petrpan-code/tsparticles/tsparticles/updaters/opacity/src/OpacityUpdater.ts
import { type Container, type IDelta, type IParticleUpdater, type Particle, getRandom, getRangeValue, initParticleNumericAnimationValue, } from "tsparticles-engine"; import { updateOpacity } from "./Utils"; /** * The opacity updater, it manages the opacity on each particle */ export class...
4,735
0
petrpan-code/tsparticles/tsparticles/updaters/opacity
petrpan-code/tsparticles/tsparticles/updaters/opacity/src/Utils.ts
import { AnimationStatus, DestroyType, type IDelta, type Particle, clamp } from "tsparticles-engine"; /** * @param particle - * @param value - * @param minValue - * @param maxValue - */ function checkDestroy(particle: Particle, value: number, minValue: number, maxValue: number): void { switch (particle.option...
4,736
0
petrpan-code/tsparticles/tsparticles/updaters/opacity
petrpan-code/tsparticles/tsparticles/updaters/opacity/src/index.ts
import type { Engine } from "tsparticles-engine"; import { OpacityUpdater } from "./OpacityUpdater"; /** * @param engine - The engine instance to load the updater for * @param refresh - */ export async function loadOpacityUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("...
4,737
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/.browserslistrc
since 2019 not dead
4,738
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/.eslintignore
dist node_modules
4,739
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,740
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/.npmignore
report.html
4,741
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [2.12.0](https://github.com/matteobruni/tsparticles/compare/v2.11.1...v2.12.0) (2023-08-03) **Note:** Version bump only for package tsparticles-update...
4,742
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/LICENSE
MIT License Copyright (c) 2020 Matteo Bruni Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
4,743
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles Orbit Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-orbit/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-orbit) [![npmjs](https://badge.fury.io/js/tsparticles-updater-...
4,744
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/package.dist.json
{ "name": "tsparticles-updater-orbit", "version": "2.12.0", "description": "tsParticles particles orbit updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/orbit" }, "keywords": [ ...
4,745
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/package.json
{ "name": "tsparticles-updater-orbit", "version": "2.12.0", "description": "tsParticles particles orbit updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package...
4,746
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,747
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,748
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,749
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,750
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,751
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,752
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Orbit Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,753
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/orbit/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "orbit", updaterName: "Orbit", version, dir: __dirname });
4,754
0
petrpan-code/tsparticles/tsparticles/updaters/orbit
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Enums.ts
export const enum OrbitType { front = "front", back = "back", }
4,755
0
petrpan-code/tsparticles/tsparticles/updaters/orbit
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/OrbitUpdater.ts
import { type IDelta, type IParticleUpdater, type RecursivePartial, getRangeValue, rangeColorToHsl, } from "tsparticles-engine"; import type { IOrbitParticlesOptions, OrbitContainer, OrbitParticle, OrbitParticlesOptions } from "./Types"; import { Orbit } from "./Options/Classes/Orbit"; import { Orbi...
4,756
0
petrpan-code/tsparticles/tsparticles/updaters/orbit
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Types.ts
import type { Container, IHsl, IParticleRetinaProps, IParticlesOptions, Particle, ParticlesOptions, Retina, } from "tsparticles-engine"; import type { IOrbit } from "./Options/Interfaces/IOrbit"; import type { Orbit } from "./Options/Classes/Orbit"; export type IOrbitParticlesOptions = IPar...
4,757
0
petrpan-code/tsparticles/tsparticles/updaters/orbit
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Utils.ts
import { type IHsl, type Particle, getStyleFromHsl } from "tsparticles-engine"; /** * Draws an ellipse for the given particle. * @param context - The canvas context. * @param particle - The particle to draw. * @param fillColorValue - The particle fill color. * @param radius - The radius of the particle. * @param...
4,758
0
petrpan-code/tsparticles/tsparticles/updaters/orbit
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/index.ts
import type { Engine } from "tsparticles-engine"; import { OrbitUpdater } from "./OrbitUpdater"; /** * @param engine - * @param refresh - */ export async function loadOrbitUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("orbit", (container) => new OrbitUpdater(container)...
4,759
0
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options/Classes/Orbit.ts
import { AnimationOptions, type IAnimatable, type IOptionLoader, OptionsColor, type RangeValue, type RecursivePartial, setRangeValue, } from "tsparticles-engine"; import type { IOrbit } from "../Interfaces/IOrbit"; import { OrbitRotation } from "./OrbitRotation"; /** * [[include:Options/Pa...
4,760
0
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options/Classes/OrbitRotation.ts
import { type IValueWithRandom, type RecursivePartial, ValueWithRandom } from "tsparticles-engine"; /** */ export class OrbitRotation extends ValueWithRandom { constructor() { super(); this.value = 45; this.random.enable = false; this.random.minimumValue = 0; } load(data?...
4,761
0
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options
petrpan-code/tsparticles/tsparticles/updaters/orbit/src/Options/Interfaces/IOrbit.ts
import type { IAnimatable, IAnimation, IOptionsColor, IValueWithRandom, RangeValue } from "tsparticles-engine"; /** * [[include:Options/Particles/Orbit.md]] */ export interface IOrbit extends IAnimatable<IAnimation> { color?: string | IOptionsColor; /** * Enables/disables the animation */ enab...
4,762
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/.browserslistrc
since 2019 not dead
4,763
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/.eslintignore
dist node_modules
4,764
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,765
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/.npmignore
report.html
4,766
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [2.12.0](https://github.com/matteobruni/tsparticles/compare/v2.11.1...v2.12.0) (2023-08-03) ### Bug Fixes * fixed out mode bounce ([aafaa08](https:/...
4,767
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/LICENSE
MIT License Copyright (c) 2020 Matteo Bruni Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
4,768
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Out Modes Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-out-modes/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-out-modes) [![npmjs](https://badge.fury.io/js/tspartic...
4,769
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/package.dist.json
{ "name": "tsparticles-updater-out-modes", "version": "2.12.0", "description": "tsParticles particles out modes updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/outModes" }, "key...
4,770
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/package.json
{ "name": "tsparticles-updater-out-modes", "version": "2.12.0", "description": "tsParticles particles out modes updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add...
4,771
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,772
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,773
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,774
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,775
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,776
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,777
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Out Modes Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,778
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/outModes/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "out-modes", updaterName: "Out Modes", version, dir: __dirname });
4,779
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/BounceOutMode.ts
import { type Container, type IDelta, OutMode, type OutModeAlt, type OutModeDirection, type Particle, calculateBounds, } from "tsparticles-engine"; import { bounceHorizontal, bounceVertical } from "./Utils"; import type { IOutModeManager } from "./IOutModeManager"; export class BounceOutMod...
4,780
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/DestroyOutMode.ts
import { type Container, type IDelta, OutMode, type OutModeAlt, type OutModeDirection, type Particle, ParticleOutType, Vector, getDistances, isPointInside, } from "tsparticles-engine"; import type { IOutModeManager } from "./IOutModeManager"; export class DestroyOutMode implemen...
4,781
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/IBounceData.ts
import type { IBounds, ICoordinates, IDimension, OutMode, OutModeAlt, OutModeDirection, Particle, } from "tsparticles-engine"; export interface IBounceData { bounds: IBounds; canvasSize: IDimension; direction: OutModeDirection; offset: ICoordinates; outMode: OutMode | Ou...
4,782
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/IOutModeManager.ts
import type { IDelta, OutMode, OutModeAlt, OutModeDirection, Particle } from "tsparticles-engine"; export interface IOutModeManager { modes: (OutMode | OutModeAlt | keyof typeof OutMode)[]; update( particle: Particle, direction: OutModeDirection, delta: IDelta, outMode: OutMode...
4,783
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/NoneOutMode.ts
import { type Container, type IDelta, OutMode, type OutModeAlt, OutModeDirection, type Particle, Vector, isPointInside, } from "tsparticles-engine"; import type { IOutModeManager } from "./IOutModeManager"; export class NoneOutMode implements IOutModeManager { modes: (OutMode | OutM...
4,784
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/OutOfCanvasUpdater.ts
import { type Container, type IDelta, type IParticleUpdater, type OutMode, type OutModeAlt, OutModeDirection, type Particle, } from "tsparticles-engine"; import { BounceOutMode } from "./BounceOutMode"; import { DestroyOutMode } from "./DestroyOutMode"; import type { IOutModeManager } from "...
4,785
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/OutOutMode.ts
import { type Container, type IDelta, OutMode, type OutModeAlt, OutModeDirection, type Particle, ParticleOutType, Vector, calculateBounds, getDistances, getRandom, isPointInside, randomInRange, } from "tsparticles-engine"; import type { IOutModeManager } from "./IOutM...
4,786
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/Utils.ts
import { OutMode, OutModeDirection, getValue } from "tsparticles-engine"; import type { IBounceData } from "./IBounceData"; /** * @param data - */ export function bounceHorizontal(data: IBounceData): void { if ( (data.outMode !== OutMode.bounce && data.outMode !== OutMode.bounceHorizontal && ...
4,787
0
petrpan-code/tsparticles/tsparticles/updaters/outModes
petrpan-code/tsparticles/tsparticles/updaters/outModes/src/index.ts
import type { Engine } from "tsparticles-engine"; import { OutOfCanvasUpdater } from "./OutOfCanvasUpdater"; /** * @param engine - The engine instance loading this plugin * @param refresh - */ export async function loadOutModesUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpda...
4,788
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/.browserslistrc
since 2019 not dead
4,789
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/.eslintignore
dist node_modules
4,790
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,791
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/.npmignore
report.html
4,792
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [2.12.0](https://github.com/matteobruni/tsparticles/compare/v2.11.1...v2.12.0) (2023-08-03) **Note:** Version bump only for package tsparticles-update...
4,793
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/LICENSE
MIT License Copyright (c) 2020 Matteo Bruni Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
4,794
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Roll Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-roll/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-roll) [![npmjs](https://badge.fury.io/js/tsparticles-updater-rol...
4,795
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/package.dist.json
{ "name": "tsparticles-updater-roll", "version": "2.12.0", "description": "tsParticles particles roll updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/roll" }, "keywords": [ ...
4,796
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/package.json
{ "name": "tsparticles-updater-roll", "version": "2.12.0", "description": "tsParticles particles roll updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.d...
4,797
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,798
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,799