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/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,600
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,601
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,602
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,603
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,604
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,605
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Text Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,606
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "text", shapeName: "Text", version, dir: __dirname });
4,607
0
petrpan-code/tsparticles/tsparticles/shapes/text
petrpan-code/tsparticles/tsparticles/shapes/text/src/ICharacterShape.ts
import type { IShapeValues, SingleOrMultiple } from "tsparticles-engine"; /** */ export interface ICharacterShape extends IShapeValues { font: string; style: string; value: SingleOrMultiple<string>; weight: string; }
4,608
0
petrpan-code/tsparticles/tsparticles/shapes/text
petrpan-code/tsparticles/tsparticles/shapes/text/src/TextDrawer.ts
import { type Container, type IShapeDrawer, type SingleOrMultiple, executeOnSingleOrMultiple, isInArray, itemFromSingleOrMultiple, loadFont, } from "tsparticles-engine"; import type { ICharacterShape } from "./ICharacterShape"; import type { TextParticle } from "./TextParticle"; export cons...
4,609
0
petrpan-code/tsparticles/tsparticles/shapes/text
petrpan-code/tsparticles/tsparticles/shapes/text/src/TextParticle.ts
import type { IParticle } from "tsparticles-engine"; export interface TextParticle extends IParticle { text?: string; }
4,610
0
petrpan-code/tsparticles/tsparticles/shapes/text
petrpan-code/tsparticles/tsparticles/shapes/text/src/index.ts
import { TextDrawer, validTypes } from "./TextDrawer"; import type { Engine } from "tsparticles-engine"; /** * @param engine - * @param refresh - */ export async function loadTextShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape(validTypes, new TextDrawer(), refresh); }
4,611
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/.browserslistrc
since 2019 not dead
4,612
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/.eslintignore
dist node_modules
4,613
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,614
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/.npmignore
report.html
4,615
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/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,616
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/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,617
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Color Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-color/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-color) [![npmjs](https://badge.fury.io/js/tsparticles-updater-...
4,618
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/package.dist.json
{ "name": "tsparticles-updater-color", "version": "2.12.0", "description": "tsParticles particles color updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/color" }, "keywords": [ ...
4,619
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/package.json
{ "name": "tsparticles-updater-color", "version": "2.12.0", "description": "tsParticles particles color 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,620
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,621
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,622
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,623
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,624
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,625
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,626
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Color Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,627
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/color/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "color", updaterName: "Color", version, dir: __dirname });
4,628
0
petrpan-code/tsparticles/tsparticles/updaters/color
petrpan-code/tsparticles/tsparticles/updaters/color/src/ColorUpdater.ts
import { type Container, type IDelta, type IParticleUpdater, type Particle, getHslAnimationFromHsl, rangeColorToHsl, } from "tsparticles-engine"; import { updateColor } from "./Utils"; export class ColorUpdater implements IParticleUpdater { constructor(private readonly container: Container)...
4,629
0
petrpan-code/tsparticles/tsparticles/updaters/color
petrpan-code/tsparticles/tsparticles/updaters/color/src/Utils.ts
import { AnimationStatus, type IColorAnimation, type IDelta, type IParticleValueAnimation, type Particle, randomInRange, } from "tsparticles-engine"; /** * @param delta - * @param colorValue - * @param valueAnimation - * @param max - * @param decrease - */ function updateColorValue( d...
4,630
0
petrpan-code/tsparticles/tsparticles/updaters/color
petrpan-code/tsparticles/tsparticles/updaters/color/src/index.ts
import { ColorUpdater } from "./ColorUpdater"; import type { Engine } from "tsparticles-engine"; /** * @param engine - * @param refresh - */ export async function loadColorUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("color", (container) => new ColorUpdater(container)...
4,631
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/.browserslistrc
since 2019 not dead
4,632
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/.eslintignore
dist node_modules
4,633
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,634
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/.npmignore
report.html
4,635
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/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,636
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/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,637
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Destroy Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-destroy/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-destroy) [![npmjs](https://badge.fury.io/js/tsparticles-up...
4,638
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/package.dist.json
{ "name": "tsparticles-updater-destroy", "version": "2.12.0", "description": "tsParticles particles destroy updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/destroy" }, "keywords...
4,639
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/package.json
{ "name": "tsparticles-updater-destroy", "version": "2.12.0", "description": "tsParticles particles destroy 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,640
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,641
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,642
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,643
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,644
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,645
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,646
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Destroy Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,647
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/destroy/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "destroy", updaterName: "Destroy", version, dir: __dirname });
4,648
0
petrpan-code/tsparticles/tsparticles/updaters/destroy
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/DestroyUpdater.ts
import { type Container, type Engine, type IParticleUpdater, type Particle, type RecursivePartial, getRangeValue, } from "tsparticles-engine"; import type { DestroyParticle, DestroyParticlesOptions, IDestroyParticlesOptions } from "./Types"; import { Destroy } from "./Options/Classes/Destroy"; i...
4,649
0
petrpan-code/tsparticles/tsparticles/updaters/destroy
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Types.ts
import type { IBounds, IParticlesOptions, Particle, ParticlesOptions } from "tsparticles-engine"; import type { Destroy } from "./Options/Classes/Destroy"; import type { IDestroy } from "./Options/Interfaces/IDestroy"; export type IDestroyParticlesOptions = IParticlesOptions & { destroy?: IDestroy; }; export type...
4,650
0
petrpan-code/tsparticles/tsparticles/updaters/destroy
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Utils.ts
import { type Container, type Engine, type IParticlesOptions, type Particle, PixelMode, type RecursivePartial, getRangeValue, getValue, isNumber, itemFromSingleOrMultiple, loadParticlesOptions, randomInRange, setRangeValue, } from "tsparticles-engine"; import type { D...
4,651
0
petrpan-code/tsparticles/tsparticles/updaters/destroy
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/index.ts
import { DestroyUpdater } from "./DestroyUpdater"; import type { Engine } from "tsparticles-engine"; /** * @param engine - * @param refresh - */ export async function loadDestroyUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("destroy", (container) => new DestroyUpdater(...
4,652
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Enums/DestroyMode.ts
export const enum DestroyMode { none = "none", split = "split", }
4,653
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Classes/Destroy.ts
import type { IOptionLoader, RecursivePartial } from "tsparticles-engine"; import { DestroyBounds } from "./DestroyBounds"; import { DestroyMode } from "../../Enums/DestroyMode"; import type { IDestroy } from "../Interfaces/IDestroy"; import { Split } from "./Split"; export class Destroy implements IDestroy, IOptionLo...
4,654
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Classes/DestroyBounds.ts
import { type IOptionLoader, type RangeValue, type RecursivePartial, setRangeValue } from "tsparticles-engine"; import type { IDestroyBounds } from "../Interfaces/IDestroyBounds"; export class DestroyBounds implements IDestroyBounds, IOptionLoader<IDestroyBounds> { bottom?: RangeValue; left?: RangeValue; r...
4,655
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Classes/Split.ts
import { type IOptionLoader, type IParticlesOptions, type IRangeHsl, OptionsColor, type RecursivePartial, type SingleOrMultiple, deepExtend, executeOnSingleOrMultiple, } from "tsparticles-engine"; import type { ISplit } from "../Interfaces/ISplit"; import { SplitFactor } from "./SplitFac...
4,656
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Classes/SplitFactor.ts
import { ValueWithRandom } from "tsparticles-engine"; export class SplitFactor extends ValueWithRandom { constructor() { super(); this.value = 3; } }
4,657
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Classes/SplitRate.ts
import { ValueWithRandom } from "tsparticles-engine"; export class SplitRate extends ValueWithRandom { constructor() { super(); this.value = { min: 4, max: 9 }; } }
4,658
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Interfaces/IDestroy.ts
import type { DestroyMode } from "../../Enums/DestroyMode"; import type { IDestroyBounds } from "./IDestroyBounds"; import type { ISplit } from "./ISplit"; /** * [[include:Destroy.md]] */ export interface IDestroy { bounds: IDestroyBounds; mode: DestroyMode | keyof typeof DestroyMode; split: ISplit; }
4,659
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Interfaces/IDestroyBounds.ts
import type { RangeValue } from "tsparticles-engine"; export interface IDestroyBounds { bottom?: RangeValue; left?: RangeValue; right?: RangeValue; top?: RangeValue; }
4,660
0
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options
petrpan-code/tsparticles/tsparticles/updaters/destroy/src/Options/Interfaces/ISplit.ts
import type { IOptionsColor, IParticlesOptions, IRangeHsl, IValueWithRandom, RecursivePartial, SingleOrMultiple, } from "tsparticles-engine"; export interface ISplit { color?: string | IOptionsColor; colorOffset?: Partial<IRangeHsl>; count: number; factor: IValueWithRandom; ...
4,661
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/.browserslistrc
since 2019 not dead
4,662
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/.eslintignore
dist node_modules
4,663
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,664
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/.npmignore
report.html
4,665
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/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,666
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/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,667
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles Gradient Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-gradient/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-gradient) [![npmjs](https://badge.fury.io/js/tsparticles...
4,668
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/package.dist.json
{ "name": "tsparticles-updater-gradient", "version": "2.12.0", "description": "tsParticles particles gradient updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/gradient" }, "keywo...
4,669
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/package.json
{ "name": "tsparticles-updater-gradient", "version": "2.12.0", "description": "tsParticles particles gradient updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add p...
4,670
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,671
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,672
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,673
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,674
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,675
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,676
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Gradient Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,677
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/gradient/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "gradient", updaterName: "Gradient", version, dir: __dirname });
4,678
0
petrpan-code/tsparticles/tsparticles/updaters/gradient
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/GradientUpdater.ts
import { AnimationStatus, GradientType, type IDelta, type IParticleColorStyle, type IParticleUpdater, type RecursivePartial, RotateDirection, StartValueType, executeOnSingleOrMultiple, getHslAnimationFromHsl, getRandom, getRangeMax, getRangeMin, getRangeValue, ...
4,679
0
petrpan-code/tsparticles/tsparticles/updaters/gradient
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Types.ts
import type { GradientType, IParticleHslAnimation, IParticleNumericValueAnimation, IParticleValueAnimation, IParticlesOptions, Particle, ParticlesOptions, SingleOrMultiple, } from "tsparticles-engine"; import type { AnimatableGradient } from "./Options/Classes/AnimatableGradient"; import...
4,680
0
petrpan-code/tsparticles/tsparticles/updaters/gradient
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Utils.ts
import { AnimationStatus, type IDelta, type IParticleNumericValueAnimation, type IParticleValueAnimation, } from "tsparticles-engine"; import type { GradientParticle } from "./Types"; /** * @param delta - * @param value - */ function updateColorOpacity(delta: IDelta, value: IParticleNumericValueAnim...
4,681
0
petrpan-code/tsparticles/tsparticles/updaters/gradient
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/index.ts
import type { Engine } from "tsparticles-engine"; import { GradientUpdater } from "./GradientUpdater"; /** * @param engine - * @param refresh - */ export async function loadGradientUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("gradient", () => new GradientUpdater(), r...
4,682
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/AnimatableGradient.ts
import { GradientType, type IOptionLoader, type RecursivePartial } from "tsparticles-engine"; import { AnimatableGradientColor } from "./AnimatableGradientColor"; import { GradientAngle } from "./GradientAngle"; import type { IAnimatableGradient } from "../Interfaces/IAnimatableGradient"; export class AnimatableGradie...
4,683
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/AnimatableGradientColor.ts
import { AnimatableColor, type IOptionLoader, type RecursivePartial, isNumber } from "tsparticles-engine"; import { GradientColorOpacity } from "./GradientColorOpacity"; import type { IAnimatableGradientColor } from "../Interfaces/IOptionsGradient"; export class AnimatableGradientColor implements IAnimatableGradientCo...
4,684
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/GradientAngle.ts
import { type IAnimatable, type IAnimation, type IOptionLoader, type RangeValue, type RecursivePartial, RotateDirection, type RotateDirectionAlt, setRangeValue, } from "tsparticles-engine"; import { GradientAngleAnimation } from "./GradientAngleAnimation"; import type { IGradientAngle } ...
4,685
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/GradientAngleAnimation.ts
import { type IAnimation, type IOptionLoader, type RangeValue, type RecursivePartial, setRangeValue, } from "tsparticles-engine"; export class GradientAngleAnimation implements IAnimation, IOptionLoader<IAnimation> { count: RangeValue; decay: RangeValue; delay: RangeValue; enable; ...
4,686
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/GradientColorOpacity.ts
import { type IAnimatable, type IAnimation, type IOptionLoader, type RangeValue, type RecursivePartial, setRangeValue, } from "tsparticles-engine"; import { GradientColorOpacityAnimation } from "./GradientColorOpacityAnimation"; import type { IGradientColorOpacity } from "../Interfaces/Gradients...
4,687
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Classes/GradientColorOpacityAnimation.ts
import { type IOptionLoader, type RangeValue, type RecursivePartial, StartValueType, setRangeValue, } from "tsparticles-engine"; import type { IGradientColorOpacityAnimation } from "../Interfaces/IOptionsGradient"; export class GradientColorOpacityAnimation implements IGradientColorOpacityAnima...
4,688
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Interfaces/Gradients.ts
import type { GradientType, IOptionsColor, RangeValue, RotateDirection, RotateDirectionAlt } from "tsparticles-engine"; export interface IGradientColorOpacity { value: RangeValue; } export interface IGradientColor { opacity?: IGradientColorOpacity | number; stop: number; value: IOptionsColor; } expor...
4,689
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Interfaces/IAnimatableGradient.ts
import type { IAnimatable, IAnimation } from "tsparticles-engine"; import type { IAnimatableGradientColor, IOptionsGradient } from "./IOptionsGradient"; import type { IGradientAngle } from "./Gradients"; export type IAnimatableGradient = IOptionsGradient & { angle: IGradientAngle & IAnimatable<IAnimation>; col...
4,690
0
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options
petrpan-code/tsparticles/tsparticles/updaters/gradient/src/Options/Interfaces/IOptionsGradient.ts
import type { IAnimatable, IAnimatableColor, IAnimation, StartValueType } from "tsparticles-engine"; import type { IGradient, IGradientColor, IGradientColorOpacity } from "./Gradients"; export interface IGradientColorOpacityAnimation extends IAnimation { startValue: StartValueType | keyof typeof StartValueType; } ...
4,691
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/.browserslistrc
since 2019 not dead
4,692
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/.eslintignore
dist node_modules
4,693
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,694
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/.npmignore
report.html
4,695
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/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,696
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/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,697
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Life Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-life/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-life) [![npmjs](https://badge.fury.io/js/tsparticles-updater-lif...
4,698
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/life/package.dist.json
{ "name": "tsparticles-updater-life", "version": "2.12.0", "description": "tsParticles particles life updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/life" }, "keywords": [ ...
4,699