You say "I wasn't much bothered by the accuracy of it": that's really bad, you should care, because those who answer to help loose their time to correct your typos. In addition, you marked your own ack as correct answer, not the real answer. That's not how to use forum.
I have implemented a demo code. It is reasonably efficient even though not optimized).
For a small image of 600 * 400, it takes 1 or 2 seconds to proceed ; for a large (3000 * 2000), it is about 30s (on iPhone 15 type device).
Good continuation. Don't forget to close the thread by marking the correct answer bit that's OK for you. And don't hesitate to post new questions on the forum if you need some help.
Great. BTW, VStack is superfluous, you can get rid of it (but keep .frame). Let us know how you handle the legend. And don't forget to close the thread by marking the correct answer.
Hi, I tried to play with angularInset, to no avail. I did not find anything in documentation. .init(angle: PlottableValue, innerRadius: MarkDimension = .automatic, outerRadius: MarkDimension = .automatic, angularInset: CGFloat? = nil)
Great. But Terminal is not the best place to learn Swift. Playground is way more firndly and powerful. Don't forget to close the thread by marking my correct answer.
You say "I wasn't much bothered by the accuracy of it": that's really bad, you should care, because those who answer to help loose their time to correct your typos. In addition, you marked your own ack as correct answer, not the real answer. That's not how to use forum.
I have implemented a demo code. It is reasonably efficient even though not optimized).
For a small image of 600 * 400, it takes 1 or 2 seconds to proceed ; for a large (3000 * 2000), it is about 30s (on iPhone 15 type device).
Good continuation. Don't forget to close the thread by marking the correct answer bit that's OK for you. And don't hesitate to post new questions on the forum if you need some help.
Great. BTW, VStack is superfluous, you can get rid of it (but keep .frame). Let us know how you handle the legend. And don't forget to close the thread by marking the correct answer.
Hi, I tried to play with angularInset, to no avail. I did not find anything in documentation. .init(angle: PlottableValue, innerRadius: MarkDimension = .automatic, outerRadius: MarkDimension = .automatic, angularInset: CGFloat? = nil)
Great. But Terminal is not the best place to learn Swift. Playground is way more firndly and powerful. Don't forget to close the thread by marking my correct answer.