Create hand-drawn, sketchy, comic shape in Swift. RoughSwift allows us to easily make shapes in a hand-drawn, sketchy, comic style in SwiftUI. Use the generator in draw function to specify which shape to render. The returned CALayer contains the rendered result in the correct size and is updated every time the generator is instructed. The beauty of CALayer is that we can further animate, transform (translate, scale, rotate) and compose them into more powerful shapes.

Features

  • Support iOS, tvOS
  • Support all shapes: line, rectangle, circle, ellipse, linear path, arc, curve, polygon, svg path
  • Generate UIBezierPath for CAShapeLayer
  • Easy cusomizations with Options
  • Easy composable APIs
  • Convenient draw functions
  • Platform independant APIs which can easily support new platforms

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow RoughSwift

RoughSwift Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RoughSwift!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Frameworks

Registered

2023-06-30