Skip to content

Instantly share code, notes, and snippets.

View random-yang's full-sized avatar
🤯

RandomYang random-yang

🤯
View GitHub Profile
@random-yang
random-yang / GlowingOrb.swift
Last active August 30, 2024 05:52
SwiftUI 0/20
import SwiftUI
struct GlowingSphere: View {
@State private var rotationAngle: Double = 0
@State private var scales: [CGFloat] = [1.0, 1.0, 1.0, 1.0]
var body: some View {
ZStack {
// BG
Color.black.edgesIgnoringSafeArea(.all)