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: v34View latest version
A professional-grade web application for creating stunning image-textured typography with Apple-inspired design and advanced customization tools.
- Dynamic text input with real-time preview
- 25+ premium font families including system fonts
- Font size range: 20-500px with fine control
- Font weight options (100-900) with intermediate values
- Letter spacing and line height adjustments
- Text alignment options (left, center, right, justify)
- Multi-line text support with line breaks
- Text case transformations (uppercase, lowercase, capitalize)
- Text decoration options (underline, strikethrough)
- Advanced text metrics and baseline controls
- Drag & drop image upload with visual feedback
- Support for PNG, JPG, JPEG, GIF, WebP, SVG, AVIF
- Image positioning controls (fit, fill, stretch, tile, custom)
- Brightness, contrast, saturation, and hue adjustments
- Image rotation (0-360°) and flip options
- Blur, sharpen, and noise filters
- Color overlay effects with blend modes
- Image cropping and aspect ratio controls
- Batch image processing capabilities
- Image optimization and compression
- Multi-layer shadow system with unlimited shadows
- Stroke/outline effects with gradient support
- Glow and inner shadow effects
- Bevel and emboss with lighting controls
- Pattern overlays and texture mapping
- Distortion effects (perspective, warp, bulge)
- Animation keyframe system
- Particle effects and dynamic backgrounds
- 3D text rendering with depth and lighting
- Custom filter chains and presets
- Apple-inspired gradient presets (50+ options)
- Custom gradient builder with unlimited stops
- Color picker with HSL, RGB, HEX, and LAB support
- Eyedropper tool for sampling colors from images
- Color harmony generator (complementary, triadic, etc.)
- Accessibility contrast checking (WCAG AA/AAA)
- Color blindness simulation
- Palette management and saving
- Color temperature adjustments
- Advanced color mixing and blending
- Multiple export formats (PNG, JPG, SVG, PDF, WebP)
- Custom resolution settings (1x to 10x for ultra-high DPI)
- Transparent background options
- Batch export with different settings
- Project save/load functionality (JSON format)
- Social media optimized presets
- Print-ready export options
- Vector format preservation
- Lossless compression options
- Cloud storage integration
- Real-time canvas manipulation with zoom and pan
- Undo/Redo system (unlimited history)
- Keyboard shortcuts for power users
- Touch gestures for mobile devices
- Grid and ruler overlays with snapping
- Layer management system
- Non-destructive editing workflow
- Live collaboration features
- Version control and branching
- Plugin system for custom effects
āāā 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