Skip to content

Instantly share code, notes, and snippets.

View JRR-OSU's full-sized avatar

Jon Reed JRR-OSU

View GitHub Profile
@JRR-OSU
JRR-OSU / CrossFadeAndFlipExample.swift
Last active August 11, 2023 08:27
SwiftUI Crossfade and Flip Shader Example
import SwiftUI
struct DemoView: View {
@State var effectValue: Double
let end = 2.75
init() {
self._effectValue = State(initialValue: end)