{"repo":"bpisano/Sticker","free":true,"listed":false,"github":"https://github.com/bpisano/Sticker","clone":"git clone https://github.com/bpisano/Sticker.git","description":"Holographic sticker effects for SwiftUI views.","language":"Swift","stars":797,"topics":["foil","metal","shader","sticker","swift","swiftui"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Sticker A Swift Package that uses Metal shaders to apply a Pokemon-style foil effect to a view. Installation Add the following dependency to your Package.swift file: Usage Use the .stickerEffect() view modifier to apply the effect to any view. By default, the effect is not animated. Parameters The following modifiers are available to customize the sticker effect: Modifier Default Value Description ------------------------------ ------------- ------------------------------------------------------------- .stickerScale( :) 3.0 Controls the overall scale of the effect pattern .stickerColorIntensity( :) 0.8 Adjusts the strength of the holographic effect .stickerContrast( :) 0.9 Modifies the contrast between light and dark areas .stickerBlend( :) 0.4 Controls how much the effect blends with the original content .stickerCheckerScale( :) 5.0 Adjusts the scale of the checker pattern .stickerCheckerIntensity( :) 1.2 Controls the intensity of the checker effect .stickerNoiseScale( :) 100.0 Adjusts the scale of the noise pattern .stickerNoiseIntensity( :) 1.2 Controls the intensity of the noise effect .stickerLightIntensity( :) 0.3 Adjusts the intensity of the light reflection .stickerPattern( :) diamond Modifies the checker pattern Example usage: Motion The effect can be animated using the .stickerMotionEffect() view modifier. Using the .animation view modifier allows you to control the animation of the effect. The following motion effects are available: Effect Description -------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/bpisano","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bpisano/Sticker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}