Skip to content

๐ŸŽจ Transform images and videos into stunning dot-matrix art with this vanilla JavaScript web app. Features real-time preview, customizable effects, and video processing. No dependencies, pure magic! โœจ

License

Notifications You must be signed in to change notification settings

Saganaki22/.matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ .matrix - Transform Your Media into Art!

Turn your images and videos into mesmerizing dotted artworks with this sleek web application! Built with pure vanilla JavaScript, this app uniquely transforms your media into stunning dot-matrix-style visuals.

Live Demo

Check out the live demo .Matrix

๐Ÿ“ธ Preview

asset.5.webm

๐ŸŽฌ Interface

Web Interface Mobile Interface
Web Interface Preview Mobile Interface Preview

๐Ÿ–ผ๏ธ Image Examples

Original Dotted Effect
Original Image Dotted Effect

๐ŸŽฅ Video Processing

dotted-effect.2.mp4

โœจ Features

  • ๐Ÿ–ผ๏ธ Image Processing: Transform any image into a dynamic dot pattern
  • ๐ŸŽฅ Video Effects: Apply the dotted effect to videos in real-time
  • ๐ŸŽฎ Interactive Controls:
    • Dot Size: Fine-tune the size of each dot
    • Spacing: Adjust the distance between dots
    • Threshold: Control the intensity of the effect
  • ๐Ÿ“ฑ Responsive Design: Works beautifully on all devices
  • ๐Ÿš€ No Dependencies: Pure vanilla JavaScript power!
  • ๐Ÿ’พ Download Support: Save your creations instantly

๐ŸŽฏ How to Use

  1. ๐Ÿ“ค Upload Media:

    • Drag and drop your image/video
    • Or click to browse files
  2. ๐ŸŽ›๏ธ Customize Effect:

    • Adjust dot size (1-10)
    • Set spacing (4-20)
    • Fine-tune threshold (0-255)
  3. ๐Ÿ’ซ Process & Download:

    • For images: Effect applies instantly
    • For videos: Click "Process Video" and wait for the magic!

๐Ÿ› ๏ธ Technical Details

  • Frontend: Vanilla JavaScript, HTML5, CSS3
  • Canvas API: For real-time media processing
  • MediaRecorder API: For video processing
  • File API: For drag & drop functionality

๐ŸŽญ Effect Parameters

Parameter Range Description
Dot Size 1-10 Controls the size of individual dots
Spacing 4-20 Adjusts the gap between dots
Threshold 0-255 Determines the intensity of dot placement

๐ŸŒŸ Key Features

Real-time Preview

Watch your media transform instantly as you adjust the parameters. The live preview ensures you get exactly the look you want.

Smooth Video Processing

  • ๐ŸŽฌ Maintains original video quality
  • โšก Efficient frame-by-frame processing
  • ๐Ÿ”„ Progress indicator with animated dots
  • โœจ Glowing processing button for visual feedback

Responsive Interface

  • ๐Ÿ“ฑ Mobile-friendly design
  • ๐Ÿ–ฅ๏ธ Optimized for large screens
  • ๐ŸŽจ Sleek, dark theme
  • ๐Ÿ’ซ Smooth animations

๐Ÿš€ Performance

  • Optimized for smooth performance
  • Efficient memory management
  • Responsive even with large files
  • Smart canvas sizing

๐ŸŽจ Example Transformations

Before After
Regular Photo Artistic Dot Matrix
Standard Video Dynamic Dotted Animation

๐Ÿ’ก Tips

  • Higher threshold = More dots
  • Smaller spacing = More detail
  • Larger dot size = More abstract look
  • Try different combinations for unique effects!

๐Ÿ”ฎ Future Enhancements

  • Additional effect patterns
  • Color customization
  • Effect presets
  • Batch processing
  • More export options

๐Ÿค Contributing

Feel free to contribute to this project! Whether it's:

  • ๐Ÿ› Bug fixes
  • โœจ New features
  • ๐Ÿ“š Documentation
  • ๐ŸŽจ UI improvements

๐Ÿ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

The Apache License 2.0 is a permissive license that allows you to:

  • โœ… Use the code commercially
  • โœ… Modify the code
  • โœ… Distribute any modifications
  • โœ… Use patent claims
  • โœ… Place warranty
  • โ„น๏ธ Requires preservation of copyright and license notices

About

๐ŸŽจ Transform images and videos into stunning dot-matrix art with this vanilla JavaScript web app. Features real-time preview, customizable effects, and video processing. No dependencies, pure magic! โœจ

Topics

Resources

License

Stars

Watchers

Forks