• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dcm31

dcm31

growingYellowMollusk

Public
Like
growingYellowMollusk
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://dcm31--99289dc2278311f0b46e569c3dd06744.web.val.run
README.md

Pixel Canvas Web Component Demo

This is a demonstration of Ryan Mulligan's (hexagoncircle) Pixel Canvas Web Component.

Attribution

Original component created by Ryan Mulligan (hexagoncircle)
Source: https://codepen.io/hexagoncircle/pen/KwPpdBZ

Description

This web component creates beautiful interactive pixel effects that respond to hover and focus states. The component demonstrates:

  • Custom Web Component implementation
  • Canvas-based animation
  • Responsive design
  • Accessibility features with keyboard focus support
  • Custom properties for configuration

Implementation Notes

This val is a direct implementation of the original code, with no modifications to the core functionality. The implementation includes:

  • Pixel class for individual pixel animation
  • PixelCanvas class registered as a custom element
  • React-based demo page showing different configurations

Usage

Hover over the cards to see the pixel animation effect in action.

HTTP
  • main.tsx
    dcm31--99…44.web.val.run
Code
README.md
H
main.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.