Skip to content

PackedBubbleChart in SpriteKit embedded in SwiftUI

License

Notifications You must be signed in to change notification settings

jakobkoerber/PackedBubbleChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PackedBubbleChart

This PackedBubbleChart is inspired by https://github.com/efremidze/Magnetic.
Magnetic rebuilds the Apple Music interests picker but this repo adds a different spin with the following main additions/changes:

  • one SKNode is centered and not movable
  • spacing between SKNodes
  • drag, tap and double-tap gestures
  • SpriteKit embedded in SwiftUI with Delegate to get selected Tag
  • gradients textures on SKNodes that reflect e.g. a completion rate of the given Tag

Screenshots

With Gradient Texture Without Gradient Texture
Simulator Screen Shot - iPhone 14 Pro - 2023-02-28 at 16 59 31 Simulator Screen Shot - iPhone 14 Pro - 2023-02-28 at 17 01 28

About

PackedBubbleChart in SpriteKit embedded in SwiftUI

Resources

License

Stars

Watchers

Forks

Languages