
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
alogorithm2-animation
Advanced tools
A browser-focused animation library providing morphing triangular patterns and organic blob shapes. Create beautiful, animated logo marks with customizable transitions for React, Vue, and Astro applications.
npm install alogorithm2-animation
# or
yarn add alogorithm2-animation
import { Alogorithm2Animation } from 'alogorithm2-animation/react'
function App() {
return (
<Alogorithm2Animation
width={400}
height={400}
mode="morph"
seed="my-seed"
duration={2000}
interval={4000}
/>
)
}
<template>
<Alogorithm2Animation
:width="400"
:height="400"
mode="morph"
seed="my-seed"
:duration="2000"
:interval="4000"
/>
</template>
<script>
import Alogorithm2Animation from 'alogorithm2-animation/vue'
export default {
components: {
Alogorithm2Animation
}
}
</script>
---
import Alogorithm2Animation from 'alogorithm2-animation/astro'
---
<Alogorithm2Animation
client:load
width={400}
height={400}
mode="morph"
seed="my-seed"
duration={2000}
interval={4000}
/>
Prop | Type | Default | Description |
---|---|---|---|
width | number | 400 | Width of the animation canvas |
height | number | 400 | Height of the animation canvas |
seed | string | random | Seed for initial pattern generation |
mode | 'morph' | 'fly' | 'morph' | Animation transition style |
duration | number | 2000 | Animation duration in milliseconds |
interval | number | 4000 | Pause between animations in milliseconds |
You can also use the core animation utilities directly:
import {
generateTriangles,
generateBlobPath,
easeInOutSine,
interpolateColor
} from 'alogorithm2-animation'
// Generate triangle pattern
const triangles = generateTriangles(seed, size, 'morph')
// Generate blob path
const blobPath = generateBlobPath(seed, size)
# Install dependencies
yarn install
# Run React development environment
yarn dev:react
# Run Vue development environment
yarn dev:vue
# Run Astro development environment
yarn dev:astro
# Run tests
yarn test:react
yarn test:vue
# Build for production
yarn build
# Note: E2E testing is currently on hold
This library requires modern browsers with support for:
GPL-3.0 License
Created by ideaman's Inc. Based on the Alogorithm v2 visual identity system.
FAQs
Animated logo mark generator with morphing triangles and blobs
We found that alogorithm2-animation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.