Analytics Vidhya
Published in

Analytics Vidhya

Shapes with Paths using SwiftUI Part4

A compendium of shapes using paths

Some simple cogs, gears and stars build in SwiftUI using paths

In part 1, 2 and 3 of this series I covered isosceles polygons, the majority of triangles you could imagine, parallelograms and trapezoids and even random polygons; putting together routines to build them using methods based on circles. You can find the stories here. Shapes that you can mutate and animate to your hearts content in code.

--

--

--

Analytics Vidhya is a community of Analytics and Data Science professionals. We are building the next-gen data science ecosystem https://www.analyticsvidhya.com

Recommended from Medium

Automatic Release Propagation for Canary releases with Cloud Run

Design Patterns — Builder Pattern Made EASY in Java

Chinchilla Squeaks — Kong, Koyeb, and Kuma

GeometryEffect in Swift 2.0

Integrating Folium with Dash

How to Get the Maximum Value in Continuous Non-null Cells

Introducing bitlib-rs for Rust and Cairo

Median of 2 Sorted Arrays — O(log n)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mark Lucking

Mark Lucking

Coding for 35+ years, enjoying using and learning Swift/iOS development. Writer @ Better Programming, @The StartUp, @Mac O’Clock, Level Up Coding & More

More from Medium

Exploring Asynchronous Tasks and Task Groups in Swift 5.5

Dev Log (Kanji Aid #2)

URLSession dataTask Vs Combine dataTaskPublisher

Introduction — How to create an iOS Framework Pt0