Skip to content

Instantly share code, notes, and snippets.

@amosgyamfi
Created October 22, 2023 13:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amosgyamfi/e7b77a591de196fb1cbdaa349fe15ad3 to your computer and use it in GitHub Desktop.
Save amosgyamfi/e7b77a591de196fb1cbdaa349fe15ad3 to your computer and use it in GitHub Desktop.
Misckey Mouse Illustration
//
// MickeyMouseIllustration.swift
import SwiftUI
struct MickeyMouseIllustration: View {
var body: some View {
ZStack {
VStack(spacing: -14) {
Image(.upperBody)
Image(.skirt)
.zIndex(4)
.offset(x: -8)
Image(.feet)
.zIndex(1)
.offset(x: -6, y: -8)
Image(.shoeRight)
.offset(x: -46, y: -34)
Image(.shoeLeft)
.zIndex(2)
.offset(x: 40, y: -100)
}
HStack {
HStack(spacing: -16) {
Image(.mickeyHandRight)
.offset(x: -8)
ZStack {
Image(.mickeyFace)
VStack {
HStack(spacing: 0) {
Image(.eyeRight)
Image(.eyeLeft)
}
.offset(x: -16)
Image(.tongue)
.offset(x: 8, y: 8)
}
}
.offset(y: -12)
}
Image(.mickeyHandLeft)
.offset(y: -12)
}
.offset(y: -98)
}
}
}
#Preview {
MickeyMouseIllustration()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment