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/rounded-polygon/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,500
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,501
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,502
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,503
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,504
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,505
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles RoundedPolygon Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,506
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "rounded-polygon", shapeName: "RoundedPolygon", version, dir: __dirname });
4,507
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/src/IRoundedPolygonShape.ts
import type { IShapeValues, RangeValue } from "tsparticles-engine"; export interface IRoundedPolygonShape extends IShapeValues { radius: number; sides: RangeValue; }
4,508
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/src/RoundedParticle.ts
import type { Particle } from "tsparticles-engine"; export type RoundedParticle = Particle & { borderRadius?: number; };
4,509
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/src/RoundedPolygonDrawer.ts
import { type Container, type ICoordinates, type IShapeDrawer, type Particle, getRangeValue } from "tsparticles-engine"; import type { IRoundedPolygonShape } from "./IRoundedPolygonShape"; import type { RoundedParticle } from "./RoundedParticle"; /** * @param sides - * @param radius - * @param rot - * @returns pol...
4,510
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon
petrpan-code/tsparticles/tsparticles/shapes/rounded-polygon/src/index.ts
import type { Engine } from "tsparticles-engine"; import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer"; /** * @param engine - * @param refresh - */ export async function loadRoundedPolygonShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape("rounded-polygon", new RoundedPolygonD...
4,511
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/.browserslistrc
since 2019 not dead
4,512
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/.eslintignore
dist node_modules
4,513
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,514
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/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-shape-...
4,515
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/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,516
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles Rounded Rectangle Shape [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-shape-rounded-rect/badge)](https://www.jsdelivr.com/package/npm/tsparticles-shape-rounded-rect) [![npmjs](https://badge.fury.io/js/...
4,517
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/package.dist.json
{ "name": "tsparticles-shape-rounded-rect", "version": "2.12.0", "description": "tsParticles rounded rect shape", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "shapes/rounded-rect" }, "keywords"...
4,518
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/package.json
{ "name": "tsparticles-shape-rounded-rect", "version": "2.12.0", "description": "tsParticles rounded rect shape", "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,519
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,520
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,521
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,522
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,523
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,524
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,525
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Rounded Rectangle Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,526
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "rounded-rect", shapeName: "Rounded Rect", version, dir: __dirname });
4,527
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/IRoundedRectData.ts
import type { IShapeValues, RangeValue } from "tsparticles-engine"; export interface IRoundedRectData extends IShapeValues { radius: RangeValue; }
4,528
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/RadiusInfo.ts
export type RadiusInfo = { bottomLeft: number; bottomRight: number; topLeft: number; topRight: number; };
4,529
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/RectInfo.ts
export type RectInfo = { height: number; width: number; x: number; y: number; };
4,530
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/RoundedParticle.ts
import type { Particle } from "tsparticles-engine"; export type RoundedParticle = Particle & { borderRadius?: number; };
4,531
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/RoundedRectDrawer.ts
import type { Container, IShapeDrawer } from "tsparticles-engine"; import type { IRoundedRectData } from "./IRoundedRectData"; import type { RadiusInfo } from "./RadiusInfo"; import type { RectInfo } from "./RectInfo"; import type { RoundedParticle } from "./RoundedParticle"; import { getRangeValue } from "tsparticles-...
4,532
0
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect
petrpan-code/tsparticles/tsparticles/shapes/rounded-rect/src/index.ts
import type { Engine } from "tsparticles-engine"; import { RoundedRectDrawer } from "./RoundedRectDrawer"; /** * @param engine - * @param refresh - */ export async function loadRoundedRectShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape("rounded-rect", new RoundedRectDrawer(), refres...
4,533
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/.browserslistrc
since 2019 not dead
4,534
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/.eslintignore
dist node_modules
4,535
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,536
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/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-shape-...
4,537
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/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,538
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/README.md
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org) # tsParticles Spiral Shape [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-shape-spiral/badge)](https://www.jsdelivr.com/package/npm/tsparticles-shape-spiral) [![npmjs](https://badge.fury.io/js/tsparticles-shape-spira...
4,539
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/package.dist.json
{ "name": "tsparticles-shape-spiral", "version": "2.12.0", "description": "tsParticles spiral shape", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "shapes/spiral" }, "keywords": [ "front-end...
4,540
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/package.json
{ "name": "tsparticles-shape-spiral", "version": "2.12.0", "description": "tsParticles spiral shape", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dist.json",...
4,541
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,542
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,543
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,544
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,545
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,546
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,547
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Spiral Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,548
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/spiral/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "spiral", shapeName: "Spiral", version, dir: __dirname });
4,549
0
petrpan-code/tsparticles/tsparticles/shapes/spiral
petrpan-code/tsparticles/tsparticles/shapes/spiral/src/ISpiralData.ts
import type { IShapeValues, RangeValue } from "tsparticles-engine"; export interface ISpiralData extends IShapeValues { innerRadius: RangeValue; lineSpacing: RangeValue; widthFactor: RangeValue; }
4,550
0
petrpan-code/tsparticles/tsparticles/shapes/spiral
petrpan-code/tsparticles/tsparticles/shapes/spiral/src/SpiralDrawer.ts
import { type Container, type IShapeDrawer, getRangeValue } from "tsparticles-engine"; import type { ISpiralData } from "./ISpiralData"; import type { SpiralParticle } from "./SpiralParticle"; export class SpiralDrawer implements IShapeDrawer { draw(context: CanvasRenderingContext2D, particle: SpiralParticle, radi...
4,551
0
petrpan-code/tsparticles/tsparticles/shapes/spiral
petrpan-code/tsparticles/tsparticles/shapes/spiral/src/SpiralParticle.ts
import type { Particle } from "tsparticles-engine"; export type SpiralParticle = Particle & { spiralInnerRadius?: number; spiralLineSpacing?: number; spiralWidthFactor?: number; };
4,552
0
petrpan-code/tsparticles/tsparticles/shapes/spiral
petrpan-code/tsparticles/tsparticles/shapes/spiral/src/index.ts
import type { Engine } from "tsparticles-engine"; import { SpiralDrawer } from "./SpiralDrawer"; /** * @param engine - * @param refresh - */ export async function loadSpiralShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape("spiral", new SpiralDrawer(), refresh); }
4,553
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/.browserslistrc
since 2019 not dead
4,554
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/.eslintignore
dist node_modules
4,555
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,556
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/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-shape-...
4,557
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/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,558
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Square Shape [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-shape-square/badge)](https://www.jsdelivr.com/package/npm/tsparticles-shape-square) [![npmjs](https://badge.fury.io/js/tsparticles-shape-squar...
4,559
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/package.dist.json
{ "name": "tsparticles-shape-square", "version": "2.12.0", "description": "tsParticles square shape", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "shapes/square" }, "keywords": [ "front-end...
4,560
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/package.json
{ "name": "tsparticles-shape-square", "version": "2.12.0", "description": "tsParticles square shape", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dist.json",...
4,561
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,562
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,563
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,564
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,565
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,566
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,567
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Square Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,568
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/square/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "square", shapeName: "Square", version, dir: __dirname });
4,569
0
petrpan-code/tsparticles/tsparticles/shapes/square
petrpan-code/tsparticles/tsparticles/shapes/square/src/SquareDrawer.ts
import type { IParticle, IShapeDrawer } from "tsparticles-engine"; const fixFactor = Math.sqrt(2); /** */ export class SquareDrawer implements IShapeDrawer { draw(context: CanvasRenderingContext2D, particle: IParticle, radius: number): void { const fixedRadius = radius / fixFactor, fixedDiame...
4,570
0
petrpan-code/tsparticles/tsparticles/shapes/square
petrpan-code/tsparticles/tsparticles/shapes/square/src/index.ts
import type { Engine } from "tsparticles-engine"; import { SquareDrawer } from "./SquareDrawer"; /** * @param engine - * @param refresh - */ export async function loadSquareShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape(["edge", "square"], new SquareDrawer(), refresh); }
4,571
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/.browserslistrc
since 2019 not dead
4,572
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/.eslintignore
dist node_modules
4,573
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,574
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/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-shape-...
4,575
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/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,576
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Star Shape [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-shape-star/badge)](https://www.jsdelivr.com/package/npm/tsparticles-shape-star) [![npmjs](https://badge.fury.io/js/tsparticles-shape-star.svg)](...
4,577
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/package.dist.json
{ "name": "tsparticles-shape-star", "version": "2.12.0", "description": "tsParticles star shape", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "shapes/star" }, "keywords": [ "front-end", ...
4,578
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/package.json
{ "name": "tsparticles-shape-star", "version": "2.12.0", "description": "tsParticles star shape", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dist.json", ...
4,579
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.base.json
{ "extends": "@tsparticles/tsconfig/tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, "include": [ "./src" ] }
4,580
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.browser.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.browser.json"], "compilerOptions": { "outDir": "./dist/browser" } }
4,581
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.json"], "compilerOptions": { "outDir": "./dist/cjs" } }
4,582
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.module.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.module.json"], "compilerOptions": { "outDir": "./dist/esm" } }
4,583
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.types.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.types.json"], "compilerOptions": { "outDir": "./dist/types" } }
4,584
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/tsconfig.umd.json
{ "extends": ["./tsconfig.base.json", "@tsparticles/tsconfig/tsconfig.umd.json"], "compilerOptions": { "outDir": "./dist/umd" } }
4,585
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/typedoc.json
{ "includes": "./markdown", "entryPoints": [ "./src/" ], "entryPointStrategy": "expand", "name": "tsParticles Star Shape", "includeVersion": true, "hideGenerator": true, "out": "./docs", "validation": { "invalidLink": true, "notDocumented": true } }
4,586
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/star/webpack.config.js
const { loadParticlesShape } = require("@tsparticles/webpack-plugin"); const version = require("./package.json").version; module.exports = loadParticlesShape({ moduleName: "star", shapeName: "Star", version, dir: __dirname });
4,587
0
petrpan-code/tsparticles/tsparticles/shapes/star
petrpan-code/tsparticles/tsparticles/shapes/star/src/IStarShape.ts
import type { IShapeValues, RangeValue } from "tsparticles-engine"; /** */ export interface IStarShape extends IShapeValues { inset: RangeValue; sides: RangeValue; }
4,588
0
petrpan-code/tsparticles/tsparticles/shapes/star
petrpan-code/tsparticles/tsparticles/shapes/star/src/StarDrawer.ts
import { type Container, type IShapeDrawer, type Particle, getRangeValue } from "tsparticles-engine"; import type { IStarShape } from "./IStarShape"; import type { StarParticle } from "./StarParticle"; /** */ export class StarDrawer implements IShapeDrawer { draw(context: CanvasRenderingContext2D, particle: StarP...
4,589
0
petrpan-code/tsparticles/tsparticles/shapes/star
petrpan-code/tsparticles/tsparticles/shapes/star/src/StarParticle.ts
import type { Particle } from "tsparticles-engine"; export type StarParticle = Particle & { starInset?: number; };
4,590
0
petrpan-code/tsparticles/tsparticles/shapes/star
petrpan-code/tsparticles/tsparticles/shapes/star/src/index.ts
import type { Engine } from "tsparticles-engine"; import { StarDrawer } from "./StarDrawer"; /** * @param engine - * @param refresh - */ export async function loadStarShape(engine: Engine, refresh = true): Promise<void> { await engine.addShape("star", new StarDrawer(), refresh); }
4,591
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/.browserslistrc
since 2019 not dead
4,592
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/.eslintignore
dist node_modules
4,593
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/.eslintrc.js
module.exports = { extends: [ "@tsparticles/eslint-config", ] };
4,594
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/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-shape-...
4,595
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/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,596
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/README.md
[![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org) # tsParticles Text Shape [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-shape-text/badge)](https://www.jsdelivr.com/package/npm/tsparticles-shape-text) [![npmjs](https://badge.fury.io/js/tsparticles-shape-text.svg)](...
4,597
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/package.dist.json
{ "name": "tsparticles-shape-text", "version": "2.12.0", "description": "tsParticles text shape", "homepage": "https://particles.js.org", "repository": { "type": "git", "url": "git+https://github.com/matteobruni/tsparticles.git", "directory": "shapes/text" }, "keywords": [ "front-end", ...
4,598
0
petrpan-code/tsparticles/tsparticles/shapes
petrpan-code/tsparticles/tsparticles/shapes/text/package.json
{ "name": "tsparticles-shape-text", "version": "2.12.0", "description": "tsParticles text shape", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", "build:ci": "tsparticles-cli build --ci", "version": "tsparticles-cli build -d && git add package.dist.json", ...
4,599