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/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/package.json
{ "name": "tsparticles-plugin-export-video", "version": "2.12.0", "description": "tsParticles export video plugin", "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,100
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,101
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,102
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,103
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,104
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,105
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,106
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Export Video Plugin", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,107
0
petrpan-code/tsparticles/tsparticles/plugins/exports
petrpan-code/tsparticles/tsparticles/plugins/exports/video/webpack.config.js
const { loadParticlesPluginExport } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesPluginExport({ moduleName: "video", pluginName: "Video", version, dir: __dirname });
4,108
0
petrpan-code/tsparticles/tsparticles/plugins/exports/video
petrpan-code/tsparticles/tsparticles/plugins/exports/video/src/ExportVideoInstance.ts
import type { Container, Engine, ExportResult, IContainerPlugin } from "tsparticles-engine"; import type { IExportVideoData } from "./IExportVideoData"; const videoTypes = ["webm", "ogg", "mp4", "x-matroska"], codecs = [ "vp9", "vp9.0", "vp8", "vp8.0", "avc1", "av1",...
4,109
0
petrpan-code/tsparticles/tsparticles/plugins/exports/video
petrpan-code/tsparticles/tsparticles/plugins/exports/video/src/IExportVideoData.ts
export interface IExportVideoData { duration?: number; fps?: number; mimeType?: string; }
4,110
0
petrpan-code/tsparticles/tsparticles/plugins/exports/video
petrpan-code/tsparticles/tsparticles/plugins/exports/video/src/index.ts
import type { Container, Engine, IPlugin } from "tsparticles-engine"; import { ExportVideoInstance } from "./ExportVideoInstance"; /** */ class ExportVideoPlugin implements IPlugin { readonly id; private readonly _engine; constructor(engine: Engine) { this.id = "export-video"; this._eng...
4,111
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/.browserslistrc
since 2019 not dead
4,112
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/.eslintignore
dist node_modules
4,113
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,114
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/.npmignore
report.html
4,115
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/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-plugin...
4,116
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/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,117
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles HSV Color Plugin [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-plugin-hsv-color/badge)](https://www.jsdelivr.com/package/npm/tsparticles-plugin-hsv-color) [![npmjs](https://badge.fury.io/js/tsparticles...
4,118
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/package.dist.json
{ "name": "tsparticles-plugin-hsv-color", "version": "2.12.0", "description": "tsParticles HSV color plugin", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "plugins/hsvColor" }, "keywords": [ ...
4,119
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/package.json
{ "name": "tsparticles-plugin-hsv-color", "version": "2.12.0", "description": "tsParticles HSV color plugin", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dis...
4,120
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,121
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,122
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,123
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,124
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,125
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,126
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles HSV Color Plugin", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,127
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/webpack.config.js
const { loadParticlesPlugin } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesPlugin({ moduleName: "hsvColor", pluginName: "HSV Color", version, dir: __dirname });
4,128
0
petrpan-code/tsparticles/tsparticles/plugins/hsvColor
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/src/HsvColorManager.ts
import { type IColor, type IColorManager, type IHsl, type IHsla, type IHsv, type IHsva, type IRangeColor, type IRangeHsv, type IRangeValueColor, type IRgb, type IRgba, type IValueColor, getRangeValue, getStyleFromHsl, parseAlpha, } from "tsparticles-engine"; ...
4,129
0
petrpan-code/tsparticles/tsparticles/plugins/hsvColor
petrpan-code/tsparticles/tsparticles/plugins/hsvColor/src/index.ts
import { HsvColorManager } from "./HsvColorManager"; import { addColorManager } from "tsparticles-engine"; /** */ export async function loadHsvColorPlugin(): Promise<void> { addColorManager(new HsvColorManager()); }
4,130
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/.browserslistrc
since 2019 not dead
4,131
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/.eslintignore
dist node_modules
4,132
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,133
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/.npmignore
report.html
4,134
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/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-plugin...
4,135
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/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,136
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles Infection Plugin [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-plugin-infection/badge)](https://www.jsdelivr.com/package/npm/tsparticles-plugin-infection) [![npmjs](https://badge.fury.io/js/tsparticles...
4,137
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/package.dist.json
{ "name": "tsparticles-plugin-infection", "version": "2.12.0", "description": "tsParticles infection plugin", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "plugins/infection" }, "keywords": [ ...
4,138
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/package.json
{ "name": "tsparticles-plugin-infection", "version": "2.12.0", "description": "tsParticles infection plugin", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dis...
4,139
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,140
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,141
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,142
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,143
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,144
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,145
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Infection Plugin", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,146
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/infection/webpack.config.js
const { loadParticlesPlugin } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesPlugin({ moduleName: "infection", pluginName: "Infection", version, dir: __dirname });
4,147
0
petrpan-code/tsparticles/tsparticles/plugins/infection
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Infecter.ts
import type { InfectableContainer, InfectableParticle } from "./Types"; /** */ export class Infecter { private readonly _container; constructor(container: InfectableContainer) { this._container = container; } startInfection(particle: InfectableParticle, stage: number): void { const i...
4,148
0
petrpan-code/tsparticles/tsparticles/plugins/infection
petrpan-code/tsparticles/tsparticles/plugins/infection/src/InfectionInstance.ts
import { type IContainerPlugin, type IOptionsColor, type Particle, itemFromArray } from "tsparticles-engine"; import type { InfectableContainer, InfectableParticle } from "./Types"; import { Infecter } from "./Infecter"; export class InfectionInstance implements IContainerPlugin { private readonly _container; ...
4,149
0
petrpan-code/tsparticles/tsparticles/plugins/infection
petrpan-code/tsparticles/tsparticles/plugins/infection/src/ParticlesInfecter.ts
import { type IDelta, ParticlesInteractorBase, getRandom } from "tsparticles-engine"; import type { InfectableContainer, InfectableParticle } from "./Types"; /** */ export class ParticlesInfecter extends ParticlesInteractorBase<InfectableContainer> { constructor(container: InfectableContainer) { super(con...
4,150
0
petrpan-code/tsparticles/tsparticles/plugins/infection
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Types.ts
import type { Container, IOptions, IParticle, Options, Particle } from "tsparticles-engine"; import type { IInfection } from "./Options/Interfaces/IInfection"; import type { Infecter } from "./Infecter"; import type { Infection } from "./Options/Classes/Infection"; export interface IParticleInfection { delay?: num...
4,151
0
petrpan-code/tsparticles/tsparticles/plugins/infection
petrpan-code/tsparticles/tsparticles/plugins/infection/src/index.ts
import type { Container, Engine, IPlugin, RecursivePartial } from "tsparticles-engine"; import type { IInfectionOptions, InfectionOptions } from "./Types"; import { Infection } from "./Options/Classes/Infection"; import { InfectionInstance } from "./InfectionInstance"; import { ParticlesInfecter } from "./ParticlesInfe...
4,152
0
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options/Classes/Infection.ts
import type { IOptionLoader, RecursivePartial } from "tsparticles-engine"; import type { IInfection } from "../Interfaces/IInfection"; import { InfectionStage } from "./InfectionStage"; /** * [[include:Options/Plugins/Infection.md]] */ export class Infection implements IInfection, IOptionLoader<IInfection> { cur...
4,153
0
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options/Classes/InfectionStage.ts
import { type IOptionLoader, OptionsColor, type RecursivePartial } from "tsparticles-engine"; import type { IInfectionStage } from "../Interfaces/IInfectionStage"; /** */ export class InfectionStage implements IInfectionStage, IOptionLoader<IInfectionStage> { color; duration?: number; infectedStage?: numb...
4,154
0
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options/Interfaces/IInfection.ts
import type { IInfectionStage } from "./IInfectionStage"; /** * The particles infection animations options * [[include:Options/Plugins/Infection.md]] */ export interface IInfection { /** * This property specifies if particles can turn back to the original state after being infected */ cure: boolea...
4,155
0
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options
petrpan-code/tsparticles/tsparticles/plugins/infection/src/Options/Interfaces/IInfectionStage.ts
import type { IOptionsColor } from "tsparticles-engine"; /** * Infection stage options */ export interface IInfectionStage { /** * Infection stage particle color */ color: string | IOptionsColor; /** * Infection stage duration, after this time has passed it will go to the next stage, ...
4,156
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/.browserslistrc
since 2019 not dead
4,157
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/.eslintignore
dist node_modules src/pathseg.*
4,158
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,159
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/.npmignore
report.html
4,160
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/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-plugin...
4,161
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/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,162
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Motion Plugin [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-plugin-motion/badge)](https://www.jsdelivr.com/package/npm/tsparticles-plugin-motion) [![npmjs](https://badge.fury.io/js/tsparticles-plugin-m...
4,163
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/package.dist.json
{ "name": "tsparticles-plugin-motion", "version": "2.12.0", "description": "tsParticles motion sickness plugin", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "plugins/motion" }, "keywords": [ ...
4,164
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/package.json
{ "name": "tsparticles-plugin-motion", "version": "2.12.0", "description": "tsParticles motion sickness plugin", "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,165
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,166
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,167
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,168
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,169
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,170
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,171
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Motion Plugin", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,172
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/motion/webpack.config.js
const { loadParticlesPlugin } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesPlugin({ moduleName: "motion", pluginName: "Motion", version, dir: __dirname });
4,173
0
petrpan-code/tsparticles/tsparticles/plugins/motion
petrpan-code/tsparticles/tsparticles/plugins/motion/src/MotionInstance.ts
import { type Engine, type IContainerPlugin, safeMatchMedia } from "tsparticles-engine"; import type { MotionContainer } from "./types"; export class MotionInstance implements IContainerPlugin { private readonly _container; private readonly _engine; constructor(container: MotionContainer, engine: Engine) ...
4,174
0
petrpan-code/tsparticles/tsparticles/plugins/motion
petrpan-code/tsparticles/tsparticles/plugins/motion/src/index.ts
import type { Container, Engine, IPlugin, RecursivePartial } from "tsparticles-engine"; import type { IMotionOptions, MotionOptions } from "./types"; import { Motion } from "./Options/Classes/Motion"; import { MotionInstance } from "./MotionInstance"; /** */ class MotionPlugin implements IPlugin { readonly id; ...
4,175
0
petrpan-code/tsparticles/tsparticles/plugins/motion
petrpan-code/tsparticles/tsparticles/plugins/motion/src/types.ts
import type { Container, IOptions, Options } from "tsparticles-engine"; import type { IMotion } from "./Options/Interfaces/IMotion"; import type { Motion } from "./Options/Classes/Motion"; export type IMotionOptions = IOptions & { motion?: IMotion; }; export type MotionOptions = Options & { motion?: Motion; }...
4,176
0
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options/Classes/Motion.ts
import type { IOptionLoader, RecursivePartial } from "tsparticles-engine"; import type { IMotion } from "../Interfaces/IMotion"; import { MotionReduce } from "./MotionReduce"; /** * [[include:Options/Motion.md]] */ export class Motion implements IMotion, IOptionLoader<IMotion> { /** * Disables motions for u...
4,177
0
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options/Classes/MotionReduce.ts
import type { IOptionLoader, RecursivePartial } from "tsparticles-engine"; import type { IMotionReduce } from "../Interfaces/IMotionReduce"; /** */ export class MotionReduce implements IMotionReduce, IOptionLoader<IMotionReduce> { /** * Factor used to reduce motion, the higher the value, the higher the motio...
4,178
0
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options/Interfaces/IMotion.ts
import type { IMotionReduce } from "./IMotionReduce"; /** * [[include:Options/Motion.md]] */ export interface IMotion { /** * Disables motions for users with `prefer-reduced-motion` enabled */ disable: boolean; /** * Reduce motion settings for users with `prefer-reduced-motion` enabled ...
4,179
0
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options
petrpan-code/tsparticles/tsparticles/plugins/motion/src/Options/Interfaces/IMotionReduce.ts
/** */ export interface IMotionReduce { /** * Factor used to reduce motion, the higher the value, the higher the motion reduction */ factor: number; /** * Reduces motion settings for users with `prefer-reduced-motion` enabled */ value: boolean; }
4,180
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/.browserslistrc
since 2019 not dead
4,181
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/.eslintignore
dist node_modules src/pathseg.*
4,182
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,183
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/.npmignore
report.html
4,184
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/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-plugin...
4,185
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/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,186
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Polygon Mask Plugin [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-plugin-polygon-mask/badge)](https://www.jsdelivr.com/package/npm/tsparticles-plugin-polygon-mask) [![npmjs](https://badge.fury.io/js/ts...
4,187
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/package.dist.json
{ "name": "tsparticles-plugin-polygon-mask", "version": "2.12.0", "description": "tsParticles polygon mask plugin", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "plugins/polygonMask" }, "keyword...
4,188
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/package.json
{ "name": "tsparticles-plugin-polygon-mask", "version": "2.12.0", "description": "tsParticles polygon mask plugin", "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,189
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,190
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,191
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,192
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,193
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,194
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,195
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Polygon Mask Plugin", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,196
0
petrpan-code/tsparticles/tsparticles/plugins
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/webpack.config.js
const { loadParticlesPlugin } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesPlugin({ moduleName: "polygon-mask", pluginName: "Polygon Mask", version, dir: __dirname });
4,197
0
petrpan-code/tsparticles/tsparticles/plugins/polygonMask
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/src/PolygonMaskInstance.ts
import { type Engine, type IContainerPlugin, type ICoordinates, type IDelta, type IDimension, OutModeDirection, type Particle, deepExtend, errorPrefix, getDistance, getDistances, getRandom, isArray, isString, itemFromArray, } from "tsparticles-engine"; import ...
4,198
0
petrpan-code/tsparticles/tsparticles/plugins/polygonMask
petrpan-code/tsparticles/tsparticles/plugins/polygonMask/src/index.ts
import "./pathseg"; import type { Container, Engine, IPlugin, RecursivePartial } from "tsparticles-engine"; import type { IPolygonMaskOptions, PolygonMaskOptions } from "./types"; import { PolygonMask } from "./Options/Classes/PolygonMask"; import { PolygonMaskInstance } from "./PolygonMaskInstance"; import { PolygonMa...
4,199