{"repo":"onmyway133/RoughSwift","free":true,"listed":false,"github":"https://github.com/onmyway133/RoughSwift","clone":"git clone https://github.com/onmyway133/RoughSwift.git","description":"🎃 Create hand-drawn, sketchy, comic shape in Swift","language":"Swift","stars":1139,"topics":["ios","swift","swiftui"],"license":null,"category":"mobile-apps","readme_excerpt":"RoughSwift Create sketchy, hand-drawn styled graphics in iOS apps using Rough.js via JavaScriptCore. Features - Hand-drawn, sketchy style shapes in SwiftUI and UIKit - Supports line, rectangle, circle, ellipse, linear path, arc, curve, polygon, SVG path - Generates UIBezierPath for CAShapeLayer - Multiple fill styles: hachure, solid, zigzag, crossHatch, dots, dashed - Easy customizations with Options - Composable and immutable APIs Requirements - iOS 16+ - Swift 6 - Xcode 16+ Installation Swift Package Manager Add to your Package.swift : Or via Xcode: File → Add Package Dependencies . SwiftUI Usage Basic shape Fill styles Available fill styles: crossHatch , dashed , dots , hachure , solid , starBurst , zigzag , zigzagLine SVG path Chart example UIKit Usage For direct CALayer -based rendering: Options Options is an immutable struct for per-shape customization: Credit - rough — the generator that powers RoughSwift via JavaScriptCore - SVGPath — constructing UIBezierPath from SVG path License RoughSwift is available under the MIT license. Copyright (c) 2019-2026 Khoa Pham.","default_branch":null,"files":null,"tree":[],"storefront":"/r/onmyway133","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/onmyway133/RoughSwift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}