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/roll/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,800
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,801
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,802
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,803
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Roll Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,804
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/roll/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "roll", updaterName: "Roll", version, dir: __dirname });
4,805
0
petrpan-code/tsparticles/tsparticles/updaters/roll
petrpan-code/tsparticles/tsparticles/updaters/roll/src/RollMode.ts
export const enum RollMode { both = "both", horizontal = "horizontal", vertical = "vertical", }
4,806
0
petrpan-code/tsparticles/tsparticles/updaters/roll
petrpan-code/tsparticles/tsparticles/updaters/roll/src/RollUpdater.ts
import { type IDelta, type IParticleTransformValues, type IParticleUpdater, type Particle, type RecursivePartial, } from "tsparticles-engine"; import type { IRollParticlesOptions, RollParticle, RollParticlesOptions } from "./Types"; import { initParticle, updateRoll } from "./Utils"; import { Roll }...
4,807
0
petrpan-code/tsparticles/tsparticles/updaters/roll
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Types.ts
import { type IParticlesOptions, type Particle, type ParticlesOptions } from "tsparticles-engine"; import type { IRoll } from "./Options/Interfaces/IRoll"; import type { Roll } from "./Options/Classes/Roll"; export type RollParticle = Particle & { options: RollParticlesOptions; }; export type RollParticlesOptions...
4,808
0
petrpan-code/tsparticles/tsparticles/updaters/roll
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Utils.ts
import { AlterType, type IDelta, getRandom, getRangeValue, rangeColorToHsl } from "tsparticles-engine"; import { RollMode } from "./RollMode"; import type { RollParticle } from "./Types"; /** * * @param particle - */ export function initParticle(particle: RollParticle): void { const rollOpt = particle.options.r...
4,809
0
petrpan-code/tsparticles/tsparticles/updaters/roll
petrpan-code/tsparticles/tsparticles/updaters/roll/src/index.ts
import type { Engine } from "tsparticles-engine"; import { RollUpdater } from "./RollUpdater"; /** * @param engine - The engine instance * @param refresh - */ export async function loadRollUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("roll", () => new RollUpdater(), r...
4,810
0
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options/Classes/Roll.ts
import { type IOptionLoader, OptionsColor, type RangeValue, type RecursivePartial, setRangeValue, } from "tsparticles-engine"; import type { IRoll } from "../Interfaces/IRoll"; import { RollLight } from "./RollLight"; import { RollMode } from "../../RollMode"; export class Roll implements IRoll, IO...
4,811
0
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options/Classes/RollLight.ts
import { type IOptionLoader, type RangeValue, type RecursivePartial, setRangeValue } from "tsparticles-engine"; import type { IRollLight } from "../Interfaces/IRollLight"; export class RollLight implements IRollLight, IOptionLoader<IRollLight> { enable; value: RangeValue; constructor() { this.enab...
4,812
0
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options/Interfaces/IRoll.ts
import type { IOptionsColor, RangeValue, SingleOrMultiple } from "tsparticles-engine"; import type { IRollLight } from "./IRollLight"; import type { RollMode } from "../../RollMode"; export interface IRoll { backColor?: SingleOrMultiple<string> | IOptionsColor; darken: IRollLight; enable: boolean; enli...
4,813
0
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options
petrpan-code/tsparticles/tsparticles/updaters/roll/src/Options/Interfaces/IRollLight.ts
import type { RangeValue } from "tsparticles-engine"; export interface IRollLight { enable: boolean; value: RangeValue; }
4,814
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/.browserslistrc
since 2019 not dead
4,815
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/.eslintignore
dist node_modules
4,816
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,817
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/.npmignore
report.html
4,818
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/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,819
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/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,820
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Rotate Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-rotate/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-rotate) [![npmjs](https://badge.fury.io/js/tsparticles-updat...
4,821
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/package.dist.json
{ "name": "tsparticles-updater-rotate", "version": "2.12.0", "description": "tsParticles particles rotate updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/rotate" }, "keywords": ...
4,822
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/package.json
{ "name": "tsparticles-updater-rotate", "version": "2.12.0", "description": "tsParticles particles rotate updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add packa...
4,823
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,824
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,825
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,826
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,827
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,828
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,829
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Rotate Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,830
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/rotate/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "rotate", updaterName: "Rotate", version, dir: __dirname });
4,831
0
petrpan-code/tsparticles/tsparticles/updaters/rotate
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/RotateUpdater.ts
import { AnimationStatus, type Container, type IDelta, type IParticleUpdater, type IParticleValueAnimation, type IParticlesOptions, type Particle, type ParticlesOptions, type RecursivePartial, RotateDirection, getRandom, getRangeValue, } from "tsparticles-engine"; import ...
4,832
0
petrpan-code/tsparticles/tsparticles/updaters/rotate
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/index.ts
import type { Engine } from "tsparticles-engine"; import { RotateUpdater } from "./RotateUpdater"; /** * @param engine - * @param refresh - */ export async function loadRotateUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("rotate", (container) => new RotateUpdater(conta...
4,833
0
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options/Classes/Rotate.ts
import { type IOptionLoader, type RecursivePartial, RotateDirection, type RotateDirectionAlt, ValueWithRandom, } from "tsparticles-engine"; import type { IRotate } from "../Interfaces/IRotate"; import { RotateAnimation } from "./RotateAnimation"; /** * [[include:Options/Particles/Rotate.md]] */ e...
4,834
0
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options/Classes/RotateAnimation.ts
import { type IOptionLoader, type RangeValue, type RecursivePartial, setRangeValue } from "tsparticles-engine"; import type { IRotateAnimation } from "../Interfaces/IRotateAnimation"; /** */ export class RotateAnimation implements IRotateAnimation, IOptionLoader<IRotateAnimation> { decay: RangeValue; enable; ...
4,835
0
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options/Interfaces/IRotate.ts
import type { IValueWithRandom, RotateDirection, RotateDirectionAlt } from "tsparticles-engine"; import type { IRotateAnimation } from "./IRotateAnimation"; /** * [[include:Options/Particles/Rotate.md]] */ export interface IRotate extends IValueWithRandom { animation: IRotateAnimation; direction: RotateDirec...
4,836
0
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options
petrpan-code/tsparticles/tsparticles/updaters/rotate/src/Options/Interfaces/IRotateAnimation.ts
import type { RangeValue } from "tsparticles-engine"; /** */ export interface IRotateAnimation { decay: RangeValue; enable: boolean; speed: RangeValue; sync: boolean; }
4,837
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/.browserslistrc
since 2019 not dead
4,838
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/.eslintignore
dist node_modules
4,839
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,840
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/.npmignore
report.html
4,841
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/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,842
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/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,843
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Size Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-size/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-size) [![npmjs](https://badge.fury.io/js/tsparticles-updater-siz...
4,844
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/package.dist.json
{ "name": "tsparticles-updater-size", "version": "2.12.0", "description": "tsParticles particles size updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/size" }, "keywords": [ ...
4,845
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/package.json
{ "name": "tsparticles-updater-size", "version": "2.12.0", "description": "tsParticles particles size 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,846
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,847
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,848
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,849
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,850
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,851
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,852
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Size Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,853
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/size/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "size", updaterName: "Size", version, dir: __dirname });
4,854
0
petrpan-code/tsparticles/tsparticles/updaters/size
petrpan-code/tsparticles/tsparticles/updaters/size/src/SizeUpdater.ts
import { type IDelta, type IParticleUpdater, type Particle, getRandom } from "tsparticles-engine"; import { updateSize } from "./Utils"; export class SizeUpdater implements IParticleUpdater { init(particle: Particle): void { const container = particle.container, sizeOptions = particle.options.s...
4,855
0
petrpan-code/tsparticles/tsparticles/updaters/size
petrpan-code/tsparticles/tsparticles/updaters/size/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,856
0
petrpan-code/tsparticles/tsparticles/updaters/size
petrpan-code/tsparticles/tsparticles/updaters/size/src/index.ts
import type { Engine } from "tsparticles-engine"; import { SizeUpdater } from "./SizeUpdater"; /** * @param engine - * @param refresh - */ export async function loadSizeUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("size", () => new SizeUpdater(), refresh); }
4,857
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/.browserslistrc
since 2019 not dead
4,858
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/.eslintignore
dist node_modules
4,859
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,860
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/.npmignore
report.html
4,861
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/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,862
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/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,863
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Stroke Color Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-stroke-color/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-stroke-color) [![npmjs](https://badge.fury.io/js...
4,864
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/package.dist.json
{ "name": "tsparticles-updater-stroke-color", "version": "2.12.0", "description": "tsParticles particles stroke color updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/strokeColor" ...
4,865
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/package.json
{ "name": "tsparticles-updater-stroke-color", "version": "2.12.0", "description": "tsParticles particles stroke color updater", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && g...
4,866
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,867
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,868
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,869
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,870
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,871
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,872
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Stroke Color Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,873
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "stroke-color", updaterName: "Stroke Color", version, dir: __dirname });
4,874
0
petrpan-code/tsparticles/tsparticles/updaters/strokeColor
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/src/StrokeColorUpdater.ts
import { type Container, type IDelta, type IParticleUpdater, type Particle, getHslAnimationFromHsl, getRangeValue, itemFromSingleOrMultiple, rangeColorToHsl, } from "tsparticles-engine"; import type { StrokeParticle } from "./Types"; import { updateStrokeColor } from "./Utils"; export c...
4,875
0
petrpan-code/tsparticles/tsparticles/updaters/strokeColor
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/src/Types.ts
import { type HslAnimation, type Particle } from "tsparticles-engine"; export type StrokeParticle = Particle & { strokeAnimation?: HslAnimation; };
4,876
0
petrpan-code/tsparticles/tsparticles/updaters/strokeColor
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/src/Utils.ts
import { AnimationStatus, type IColorAnimation, type IDelta, type IParticleValueAnimation, randomInRange, } from "tsparticles-engine"; import type { StrokeParticle } from "./Types"; /** * @param delta - * @param colorValue - * @param valueAnimation - * @param max - * @param decrease - */ func...
4,877
0
petrpan-code/tsparticles/tsparticles/updaters/strokeColor
petrpan-code/tsparticles/tsparticles/updaters/strokeColor/src/index.ts
import type { Engine } from "tsparticles-engine"; import { StrokeColorUpdater } from "./StrokeColorUpdater"; /** * @param engine - * @param refresh - */ export async function loadStrokeColorUpdater(engine: Engine, refresh = true): Promise<void> { await engine.addParticleUpdater("strokeColor", (container) => new...
4,878
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/.browserslistrc
since 2019 not dead
4,879
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/.eslintignore
dist node_modules
4,880
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,881
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/.npmignore
report.html
4,882
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/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,883
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/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,884
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Tilt Updater [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-updater-tilt/badge)](https://www.jsdelivr.com/package/npm/tsparticles-updater-tilt) [![npmjs](https://badge.fury.io/js/tsparticles-updater-til...
4,885
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/package.dist.json
{ "name": "tsparticles-updater-tilt", "version": "2.12.0", "description": "tsParticles particles tilt updater", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "updaters/tilt" }, "keywords": [ ...
4,886
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/package.json
{ "name": "tsparticles-updater-tilt", "version": "2.12.0", "description": "tsParticles particles tilt 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,887
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,888
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,889
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,890
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,891
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,892
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,893
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Tilt Updater", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,894
0
petrpan-code/tsparticles/tsparticles/updaters
petrpan-code/tsparticles/tsparticles/updaters/tilt/webpack.config.js
const { loadParticlesUpdater } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesUpdater({ moduleName: "tilt", updaterName: "Tilt", version, dir: __dirname });
4,895
0
petrpan-code/tsparticles/tsparticles/updaters/tilt
petrpan-code/tsparticles/tsparticles/updaters/tilt/src/TiltDirection.ts
/** */ export const enum TiltDirection { clockwise = "clockwise", counterClockwise = "counter-clockwise", random = "random", } export type TiltDirectionAlt = "counter-clockwise";
4,896
0
petrpan-code/tsparticles/tsparticles/updaters/tilt
petrpan-code/tsparticles/tsparticles/updaters/tilt/src/TiltUpdater.ts
import { AnimationStatus, type Container, type IDelta, type IParticleTransformValues, type IParticleUpdater, type Particle, type RecursivePartial, getRandom, getRangeValue, } from "tsparticles-engine"; import type { ITiltParticlesOptions, TiltParticle, TiltParticlesOptions } from "./...
4,897
0
petrpan-code/tsparticles/tsparticles/updaters/tilt
petrpan-code/tsparticles/tsparticles/updaters/tilt/src/Types.ts
import type { IParticleValueAnimation, IParticlesOptions, Particle, ParticlesOptions } from "tsparticles-engine"; import type { ITilt } from "./Options/Interfaces/ITilt"; import type { Tilt } from "./Options/Classes/Tilt"; export interface IParticleTiltValueAnimation extends IParticleValueAnimation<number> { cosDi...
4,898
0
petrpan-code/tsparticles/tsparticles/updaters/tilt
petrpan-code/tsparticles/tsparticles/updaters/tilt/src/Utils.ts
import { AnimationStatus, type IDelta } from "tsparticles-engine"; import type { TiltParticle } from "./Types"; /** * @param particle - * @param delta - */ export function updateTilt(particle: TiltParticle, delta: IDelta): void { if (!particle.tilt || !particle.options.tilt) { return; } const t...
4,899