pback
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.
Viewing readonly version of main branch: v6View latest version
A web application that applies image textures to text, creating visually striking effects where text appears to be "filled" with uploaded images.
- Upload any image file (PNG, JPG, JPEG, GIF, WebP)
- Apply image texture to customizable text
- Real-time preview of the effect
- Adjustable text size and font
- Download the result as an image
- Responsive design with modern UI
├── backend/
│ └── index.ts # Main Hono server
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # React frontend entry point
│ ├── components/
│ │ └── App.tsx # Main application component
│ └── style.css # Custom styles
└── README.md
- Backend: Hono (TypeScript)
- Frontend: React 18.2.0 with TypeScript
- Styling: TailwindCSS
- Canvas: HTML5 Canvas for image processing
- Upload an image using the file input
- Enter your desired text
- Adjust text size and font as needed
- See the real-time preview of your image-textured text
- Download the result as a PNG image
The application uses HTML5 Canvas to:
- Render the text with the selected font and size
- Apply the uploaded image as a texture using
globalCompositeOperation
- Create a clipping mask effect where the image only shows through the text
- Generate a downloadable result