Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 776 Bytes

File metadata and controls

17 lines (12 loc) · 776 Bytes

Matrix-ImageView

Create the matrix animation for any image.

Inspiration

This project is inspired by matrix-faces. Since I could not find a Swift implementation online. I coded it as a fun exercise.

Implementation

  • Spawn UIViews with a CATextLayer (slighly more performant the using UILabels)
  • CADisplayLink updates the positions of the spawned view and sets the opacity based on the luminescence of a pixel

Screen Recording

Simulator.Screen.Recording.-.iPod.touch.7th.generation.-.2022-08-07.at.10.35.14.mp4

License

Matrix-ImageView is distributed under the terms and conditions of the MIT license.