(OLD) Creating a spirograph with SwiftUI – Drawing SwiftUI Tutorial 10/10

preview_player
Показать описание
In this technique project we dive into SwiftUI's drawing APIs, covering custom paths and shapes, drawing groups, and more.

Рекомендации по теме
Комментарии
Автор

Questions? Comments? Tweet me @twostraws.

twostraws
Автор

am gonna keep this as my coffee. whenever I feel sleepy am gonna come back and watch this.

droneacharya
Автор

Thanks Paul. This was absolutely worth following along.

chrispyk
Автор

That is so cool I felt inspired to actually code it rather than just pretend I could learn by watching the video.
One comment though is that I don't think the gcd function belongs in struct Spirograph. It is a basic arithmetic function that would go in a maths library with no knowledge of Spirographs, Shapes, SwiftUI or anything to do with UI.

markaurelius
Автор

Is this available to download and use as an app for MacOS and can it export SVGs ??

RB-vfxn
Автор

Tip: Don't test this using nice numbers or you just get a circle.

JaydenIrwin
Автор

basically this is a video how to draw an Apple HomePod in SwiftUI haha

alex_riakhin
visit shbcf.ru