- Home
- Skills
- Frontend & Web Apps
- 3D Logo Coin
More screenshots
Works with the AI Agents you already use
3D Logo Coin
by hasuwini77
Turn flat logo images into high-fidelity, 3D spinning coins with chrome rims and realistic reflections.
Free
3D Logo Coin
Example session with this skill installed
I have a white-background PNG logo at /assets/brand/logo.png. It has text on it. Create a 3D spinning coin component with a gold chrome rim and studio lighting.
- Read your context and instructions
- Compiled the 3d logo coin
- Generated the UI component
I have generated the SpinningLogo3D.tsx component. It includes a contiguous flood-fill to remove the white background, a Moore-neighbor tracer for the rim, and specialized logic for the HAS_TEXT flag to ensure the logo reads correctly from both sides during rotation.
3D Logo Spinner: Gold Chrome Edition
import React, { useMemo, useRef, Suspense, useLayoutEffect } from 'react'
import { Canvas, useFrame, useThree, useLoader } from '@react-three/fiber'
import { useTexture, Environment, PerspectiveCamera } from '@react-three/drei'
import * as THREE from 'three'
// Configuration for this specific build
const PLANE_SIZE = 4.8
const THICKNESS = 0.45
const SPIN_SPEED = 0.35
const HAS_TEXT = true
const EMBOSS_STRENGTH = 1.2
// ... (Internal flood-fill, perimeter tracing, and rim building logic)
export function SpinningLogo3D({ size = 540 }: { size?: number }) {
return (
<div style={{ width: size, height: size }}>
<Canvas
orthographic
gl={{
alpha: true,
antialias: true,
toneMapping: THREE.NeutralToneMapping,
preserveDrawingBuffer: true
}}
>
<FitOrthoCamera />
<ambientLight intensity={0.7} />
<pointLight position={[10, 10, 10]} intensity={2} />
<Environment files="/hdri/studio_small_03_1k.hdr" />
<Suspense fallback={null}>
<Coin logoPath="/assets/brand/logo.png" color="#e6c88e" emissive="#d4a506" />
</Suspense>
</Canvas>
</div>
)
}
Next steps
- Install dependencies:
npm install three @react-three/fiber @react-three/drei. - Download the studio HDR file to your
public/hdri/folder using the provided curl command. - Import and place the component in your layout; it will automatically handle the transparency of your white-background PNG.
SpinningLogo3D.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Building high-quality 3D animations from flat logo files is often a manual, time-consuming process involving Blender or complex custom shaders. This skill automates the generation of a React component that transforms any PNG, JPG, or SVG into a premium 3D spinning coin. It handles the heavy lifting of geometry extraction and real-time material rendering.
What it does
- Auto-transparency generation by detecting solid backgrounds and applying contiguous flood-fill removal to preserve interior details.
- Perimeter extraction using Moore-neighbor boundary tracing to create a precise chrome rim that follows the logo's exact silhouette.
- Dynamic normal mapping via Sobel filters to give flat logos embossed depth and realistic highlights.
- Continuous rotation logic that handles text-based logos correctly, ensuring they read properly from both sides without visual snaps.
- Premium material rendering with environment reflections, satin chrome finishes, and orthographic framing for a polished, professional look.
How it works
- Identify assets by providing a local path to a logo image within your project structure.
- Configure metadata such as whether the logo contains text or which lighting environment (studio, warehouse, sunset) to use.
- Generate component which produces a standalone
SpinningLogo3D.tsxfile including all Three.js and R3F logic. - Integrate by dropping the component into your UI, with all dependencies managed via standard npm installs.
Frameworks & tools
Built for React projects using Three.js, @react-three/fiber, and @react-three/drei.
Why this beats prompting it yourself
Writing a robust Moore-neighbor tracer and managing UV-independent back-face rendering is beyond the scope of a standard LLM chat. This skill provides specialized algorithms for contiguous transparency and tangent-based normals that prevent common artifacts like jagged reflections or "mirror-flipped" silhouettes.
Use cases
- Adding high-end 3D branding to a landing page or hero section.
- Generating interactive loading indicators that match a product's identity.
- Creating digital medals or badge rewards for gamified web applications.
Known limitations
Requires a React environment with R3F. Works best with high-resolution source images; low-res or highly compressed JPGs may show artifacts in the rim geometry.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
This skill has been used 4 times.
Trust & safety
Security scan
Security scan passed 2 months ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.