Skip to content

Instantly share code, notes, and snippets.

@veganstraightedge
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veganstraightedge/70d78aadf14cd4942d3e to your computer and use it in GitHub Desktop.
Save veganstraightedge/70d78aadf14cd4942d3e to your computer and use it in GitHub Desktop.
Just playing with Paintcode
//// Color Declarations
UIColor* color0 = [UIColor colorWithRed: 0 green: 0.686 blue: 0.941 alpha: 1];
//// Group
{
//// Bezier 2 Drawing
UIBezierPath* bezier2Path = UIBezierPath.bezierPath;
[bezier2Path moveToPoint: CGPointMake(149.6, 128.6)];
[bezier2Path addCurveToPoint: CGPointMake(123, 129.8) controlPoint1: CGPointMake(140.8, 129.1) controlPoint2: CGPointMake(132, 129.5)];
[bezier2Path addCurveToPoint: CGPointMake(85.6, 162.6) controlPoint1: CGPointMake(114.7, 149.6) controlPoint2: CGPointMake(101.1, 162.6)];
bezier2Path.lineCapStyle = kCGLineCapRound;
bezier2Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier2Path.lineWidth = 5;
[bezier2Path stroke];
//// Bezier 4 Drawing
UIBezierPath* bezier4Path = UIBezierPath.bezierPath;
[bezier4Path moveToPoint: CGPointMake(85.6, 162.6)];
[bezier4Path addCurveToPoint: CGPointMake(48.2, 129.8) controlPoint1: CGPointMake(70.1, 162.6) controlPoint2: CGPointMake(56.5, 149.6)];
[bezier4Path addCurveToPoint: CGPointMake(21.6, 128.6) controlPoint1: CGPointMake(39.2, 129.5) controlPoint2: CGPointMake(30.4, 129.1)];
bezier4Path.lineCapStyle = kCGLineCapRound;
bezier4Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier4Path.lineWidth = 5;
[bezier4Path stroke];
//// Bezier 6 Drawing
UIBezierPath* bezier6Path = UIBezierPath.bezierPath;
[bezier6Path moveToPoint: CGPointMake(48.2, 129.8)];
[bezier6Path addCurveToPoint: CGPointMake(85.6, 162.6) controlPoint1: CGPointMake(56.5, 149.6) controlPoint2: CGPointMake(70.1, 162.6)];
[bezier6Path addLineToPoint: CGPointMake(85.6, 130.5)];
[bezier6Path addCurveToPoint: CGPointMake(48.2, 129.8) controlPoint1: CGPointMake(73, 130.4) controlPoint2: CGPointMake(60.5, 130.2)];
[bezier6Path closePath];
bezier6Path.lineCapStyle = kCGLineCapRound;
bezier6Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier6Path.lineWidth = 5;
[bezier6Path stroke];
//// Bezier 8 Drawing
UIBezierPath* bezier8Path = UIBezierPath.bezierPath;
[bezier8Path moveToPoint: CGPointMake(123, 129.8)];
[bezier8Path addCurveToPoint: CGPointMake(85.6, 130.4) controlPoint1: CGPointMake(110.7, 130.2) controlPoint2: CGPointMake(98.2, 130.4)];
[bezier8Path addLineToPoint: CGPointMake(85.6, 162.5)];
[bezier8Path addCurveToPoint: CGPointMake(123, 129.8) controlPoint1: CGPointMake(101, 162.6) controlPoint2: CGPointMake(114.7, 149.6)];
[bezier8Path closePath];
bezier8Path.lineCapStyle = kCGLineCapRound;
bezier8Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier8Path.lineWidth = 5;
[bezier8Path stroke];
//// Bezier 10 Drawing
UIBezierPath* bezier10Path = UIBezierPath.bezierPath;
[bezier10Path moveToPoint: CGPointMake(21.6, 128.6)];
[bezier10Path addCurveToPoint: CGPointMake(48.2, 129.8) controlPoint1: CGPointMake(30.4, 129.1) controlPoint2: CGPointMake(39.2, 129.5)];
[bezier10Path addCurveToPoint: CGPointMake(39.9, 86.5) controlPoint1: CGPointMake(43.1, 117.5) controlPoint2: CGPointMake(40, 102.6)];
[bezier10Path addCurveToPoint: CGPointMake(8.4, 84) controlPoint1: CGPointMake(29.2, 85.9) controlPoint2: CGPointMake(18.7, 85.1)];
[bezier10Path addCurveToPoint: CGPointMake(8.4, 85.3) controlPoint1: CGPointMake(8.4, 84.4) controlPoint2: CGPointMake(8.4, 84.9)];
bezier10Path.lineCapStyle = kCGLineCapRound;
bezier10Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier10Path.lineWidth = 5;
[bezier10Path stroke];
//// Bezier 12 Drawing
UIBezierPath* bezier12Path = UIBezierPath.bezierPath;
[bezier12Path moveToPoint: CGPointMake(162.8, 85.3)];
[bezier12Path addCurveToPoint: CGPointMake(162.8, 84) controlPoint1: CGPointMake(162.8, 84.9) controlPoint2: CGPointMake(162.8, 84.4)];
[bezier12Path addCurveToPoint: CGPointMake(131.3, 86.5) controlPoint1: CGPointMake(152.5, 85) controlPoint2: CGPointMake(142, 85.9)];
[bezier12Path addCurveToPoint: CGPointMake(123, 129.8) controlPoint1: CGPointMake(131.2, 102.6) controlPoint2: CGPointMake(128.1, 117.6)];
[bezier12Path addCurveToPoint: CGPointMake(149.6, 128.6) controlPoint1: CGPointMake(132, 129.5) controlPoint2: CGPointMake(140.8, 129.1)];
bezier12Path.lineCapStyle = kCGLineCapRound;
bezier12Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier12Path.lineWidth = 5;
[bezier12Path stroke];
//// Bezier 14 Drawing
UIBezierPath* bezier14Path = UIBezierPath.bezierPath;
[bezier14Path moveToPoint: CGPointMake(85.6, 130.4)];
[bezier14Path addCurveToPoint: CGPointMake(123, 129.8) controlPoint1: CGPointMake(98.2, 130.4) controlPoint2: CGPointMake(110.7, 130.2)];
[bezier14Path addCurveToPoint: CGPointMake(131.3, 86.5) controlPoint1: CGPointMake(128.1, 117.5) controlPoint2: CGPointMake(131.2, 102.6)];
[bezier14Path addCurveToPoint: CGPointMake(85.5, 87.8) controlPoint1: CGPointMake(116.4, 87.4) controlPoint2: CGPointMake(101.1, 87.8)];
[bezier14Path addLineToPoint: CGPointMake(85.5, 130.4)];
[bezier14Path addLineToPoint: CGPointMake(85.6, 130.4)];
[bezier14Path closePath];
bezier14Path.lineCapStyle = kCGLineCapRound;
bezier14Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier14Path.lineWidth = 5;
[bezier14Path stroke];
//// Bezier 16 Drawing
UIBezierPath* bezier16Path = UIBezierPath.bezierPath;
[bezier16Path moveToPoint: CGPointMake(39.8, 86.5)];
[bezier16Path addCurveToPoint: CGPointMake(48.1, 129.8) controlPoint1: CGPointMake(39.9, 102.6) controlPoint2: CGPointMake(43, 117.6)];
[bezier16Path addCurveToPoint: CGPointMake(85.5, 130.4) controlPoint1: CGPointMake(60.4, 130.2) controlPoint2: CGPointMake(72.9, 130.4)];
[bezier16Path addLineToPoint: CGPointMake(85.5, 87.7)];
[bezier16Path addCurveToPoint: CGPointMake(39.8, 86.5) controlPoint1: CGPointMake(70, 87.8) controlPoint2: CGPointMake(54.7, 87.3)];
[bezier16Path closePath];
bezier16Path.lineCapStyle = kCGLineCapRound;
bezier16Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier16Path.lineWidth = 5;
[bezier16Path stroke];
//// Bezier 18 Drawing
UIBezierPath* bezier18Path = UIBezierPath.bezierPath;
[bezier18Path moveToPoint: CGPointMake(8.4, 84)];
[bezier18Path addCurveToPoint: CGPointMake(39.9, 86.5) controlPoint1: CGPointMake(18.7, 85) controlPoint2: CGPointMake(29.2, 85.9)];
[bezier18Path addCurveToPoint: CGPointMake(39.9, 85.4) controlPoint1: CGPointMake(39.9, 86.1) controlPoint2: CGPointMake(39.9, 85.7)];
[bezier18Path addCurveToPoint: CGPointMake(47.1, 43.8) controlPoint1: CGPointMake(39.9, 70.1) controlPoint2: CGPointMake(42.6, 55.8)];
[bezier18Path addCurveToPoint: CGPointMake(22.3, 41.2) controlPoint1: CGPointMake(38.6, 43.1) controlPoint2: CGPointMake(30.4, 42.3)];
bezier18Path.lineCapStyle = kCGLineCapRound;
bezier18Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier18Path.lineWidth = 5;
[bezier18Path stroke];
//// Bezier 20 Drawing
UIBezierPath* bezier20Path = UIBezierPath.bezierPath;
[bezier20Path moveToPoint: CGPointMake(148.9, 41.1)];
[bezier20Path addCurveToPoint: CGPointMake(124.1, 43.7) controlPoint1: CGPointMake(140.9, 42.2) controlPoint2: CGPointMake(132.6, 43.1)];
[bezier20Path addCurveToPoint: CGPointMake(131.3, 85.3) controlPoint1: CGPointMake(128.7, 55.7) controlPoint2: CGPointMake(131.3, 70)];
[bezier20Path addCurveToPoint: CGPointMake(131.3, 86.4) controlPoint1: CGPointMake(131.3, 85.7) controlPoint2: CGPointMake(131.3, 86.1)];
[bezier20Path addCurveToPoint: CGPointMake(162.8, 83.9) controlPoint1: CGPointMake(142, 85.8) controlPoint2: CGPointMake(152.5, 85)];
bezier20Path.lineCapStyle = kCGLineCapRound;
bezier20Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier20Path.lineWidth = 5;
[bezier20Path stroke];
//// Bezier 22 Drawing
UIBezierPath* bezier22Path = UIBezierPath.bezierPath;
[bezier22Path moveToPoint: CGPointMake(85.6, 45.2)];
[bezier22Path addCurveToPoint: CGPointMake(47, 43.7) controlPoint1: CGPointMake(72.4, 45.2) controlPoint2: CGPointMake(59.5, 44.7)];
[bezier22Path addCurveToPoint: CGPointMake(39.8, 85.3) controlPoint1: CGPointMake(42.4, 55.7) controlPoint2: CGPointMake(39.8, 70)];
[bezier22Path addCurveToPoint: CGPointMake(39.8, 86.4) controlPoint1: CGPointMake(39.8, 85.7) controlPoint2: CGPointMake(39.8, 86.1)];
[bezier22Path addCurveToPoint: CGPointMake(85.6, 87.7) controlPoint1: CGPointMake(54.7, 87.3) controlPoint2: CGPointMake(70, 87.7)];
[bezier22Path addLineToPoint: CGPointMake(85.6, 45.2)];
[bezier22Path closePath];
bezier22Path.lineCapStyle = kCGLineCapRound;
bezier22Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier22Path.lineWidth = 5;
[bezier22Path stroke];
//// Bezier 24 Drawing
UIBezierPath* bezier24Path = UIBezierPath.bezierPath;
[bezier24Path moveToPoint: CGPointMake(124.1, 43.7)];
[bezier24Path addCurveToPoint: CGPointMake(85.5, 45.2) controlPoint1: CGPointMake(111.7, 44.7) controlPoint2: CGPointMake(98.8, 45.2)];
[bezier24Path addLineToPoint: CGPointMake(85.5, 87.7)];
[bezier24Path addCurveToPoint: CGPointMake(131.3, 86.4) controlPoint1: CGPointMake(101.1, 87.7) controlPoint2: CGPointMake(116.3, 87.3)];
[bezier24Path addCurveToPoint: CGPointMake(131.3, 85.3) controlPoint1: CGPointMake(131.3, 86) controlPoint2: CGPointMake(131.3, 85.6)];
[bezier24Path addCurveToPoint: CGPointMake(124.1, 43.7) controlPoint1: CGPointMake(131.3, 70) controlPoint2: CGPointMake(128.7, 55.7)];
[bezier24Path closePath];
bezier24Path.lineCapStyle = kCGLineCapRound;
bezier24Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier24Path.lineWidth = 5;
[bezier24Path stroke];
//// Bezier 26 Drawing
UIBezierPath* bezier26Path = UIBezierPath.bezierPath;
[bezier26Path moveToPoint: CGPointMake(22.3, 41.1)];
[bezier26Path addCurveToPoint: CGPointMake(47.1, 43.7) controlPoint1: CGPointMake(30.3, 42.2) controlPoint2: CGPointMake(38.6, 43.1)];
[bezier26Path addCurveToPoint: CGPointMake(85.7, 8.1) controlPoint1: CGPointMake(55.2, 22.3) controlPoint2: CGPointMake(69.5, 8.1)];
bezier26Path.lineCapStyle = kCGLineCapRound;
bezier26Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier26Path.lineWidth = 5;
[bezier26Path stroke];
//// Bezier 28 Drawing
UIBezierPath* bezier28Path = UIBezierPath.bezierPath;
[bezier28Path moveToPoint: CGPointMake(85.6, 8.1)];
[bezier28Path addCurveToPoint: CGPointMake(124.2, 43.7) controlPoint1: CGPointMake(101.8, 8.1) controlPoint2: CGPointMake(116, 22.3)];
[bezier28Path addCurveToPoint: CGPointMake(149, 41.1) controlPoint1: CGPointMake(132.7, 43) controlPoint2: CGPointMake(140.9, 42.2)];
bezier28Path.lineCapStyle = kCGLineCapRound;
bezier28Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier28Path.lineWidth = 5;
[bezier28Path stroke];
//// Bezier 30 Drawing
UIBezierPath* bezier30Path = UIBezierPath.bezierPath;
[bezier30Path moveToPoint: CGPointMake(85.6, 8.1)];
[bezier30Path addCurveToPoint: CGPointMake(47, 43.7) controlPoint1: CGPointMake(69.4, 8.1) controlPoint2: CGPointMake(55.2, 22.3)];
[bezier30Path addCurveToPoint: CGPointMake(85.6, 45.2) controlPoint1: CGPointMake(59.4, 44.7) controlPoint2: CGPointMake(72.3, 45.2)];
[bezier30Path addLineToPoint: CGPointMake(85.6, 8.1)];
[bezier30Path closePath];
bezier30Path.lineCapStyle = kCGLineCapRound;
bezier30Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier30Path.lineWidth = 5;
[bezier30Path stroke];
//// Bezier 32 Drawing
UIBezierPath* bezier32Path = UIBezierPath.bezierPath;
[bezier32Path moveToPoint: CGPointMake(85.6, 8.1)];
[bezier32Path addLineToPoint: CGPointMake(85.6, 45.2)];
[bezier32Path addCurveToPoint: CGPointMake(124.2, 43.7) controlPoint1: CGPointMake(98.8, 45.2) controlPoint2: CGPointMake(111.7, 44.7)];
[bezier32Path addCurveToPoint: CGPointMake(85.6, 8.1) controlPoint1: CGPointMake(116, 22.3) controlPoint2: CGPointMake(101.8, 8.1)];
[bezier32Path closePath];
bezier32Path.lineCapStyle = kCGLineCapRound;
bezier32Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier32Path.lineWidth = 5;
[bezier32Path stroke];
}
//// Bezier 34 Drawing
UIBezierPath* bezier34Path = UIBezierPath.bezierPath;
[bezier34Path moveToPoint: CGPointMake(85.6, 162.6)];
[bezier34Path addCurveToPoint: CGPointMake(149.6, 128.6) controlPoint1: CGPointMake(112.2, 162.6) controlPoint2: CGPointMake(135.7, 149.1)];
bezier34Path.lineCapStyle = kCGLineCapRound;
bezier34Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier34Path.lineWidth = 8;
[bezier34Path stroke];
//// Bezier 36 Drawing
UIBezierPath* bezier36Path = UIBezierPath.bezierPath;
[bezier36Path moveToPoint: CGPointMake(21.6, 128.6)];
[bezier36Path addCurveToPoint: CGPointMake(85.6, 162.6) controlPoint1: CGPointMake(35.5, 149.1) controlPoint2: CGPointMake(59, 162.6)];
bezier36Path.lineCapStyle = kCGLineCapRound;
bezier36Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier36Path.lineWidth = 8;
[bezier36Path stroke];
//// Bezier 38 Drawing
UIBezierPath* bezier38Path = UIBezierPath.bezierPath;
[bezier38Path moveToPoint: CGPointMake(8.3, 85.3)];
[bezier38Path addCurveToPoint: CGPointMake(21.5, 128.6) controlPoint1: CGPointMake(8.3, 101.3) controlPoint2: CGPointMake(13.2, 116.2)];
bezier38Path.lineCapStyle = kCGLineCapRound;
bezier38Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier38Path.lineWidth = 8;
[bezier38Path stroke];
//// Bezier 40 Drawing
UIBezierPath* bezier40Path = UIBezierPath.bezierPath;
[bezier40Path moveToPoint: CGPointMake(149.6, 128.6)];
[bezier40Path addCurveToPoint: CGPointMake(162.8, 85.3) controlPoint1: CGPointMake(158, 116.3) controlPoint2: CGPointMake(162.8, 101.4)];
bezier40Path.lineCapStyle = kCGLineCapRound;
bezier40Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier40Path.lineWidth = 8;
[bezier40Path stroke];
//// Bezier 42 Drawing
UIBezierPath* bezier42Path = UIBezierPath.bezierPath;
[bezier42Path moveToPoint: CGPointMake(22.3, 41.1)];
[bezier42Path addCurveToPoint: CGPointMake(8.4, 84) controlPoint1: CGPointMake(13.8, 53.3) controlPoint2: CGPointMake(8.7, 68)];
bezier42Path.lineCapStyle = kCGLineCapRound;
bezier42Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier42Path.lineWidth = 8;
[bezier42Path stroke];
//// Bezier 44 Drawing
UIBezierPath* bezier44Path = UIBezierPath.bezierPath;
[bezier44Path moveToPoint: CGPointMake(162.8, 84)];
[bezier44Path addCurveToPoint: CGPointMake(148.9, 41.1) controlPoint1: CGPointMake(162.5, 68.1) controlPoint2: CGPointMake(157.4, 53.3)];
bezier44Path.lineCapStyle = kCGLineCapRound;
bezier44Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier44Path.lineWidth = 8;
[bezier44Path stroke];
//// Bezier 46 Drawing
UIBezierPath* bezier46Path = UIBezierPath.bezierPath;
[bezier46Path moveToPoint: CGPointMake(85.6, 8.1)];
[bezier46Path addCurveToPoint: CGPointMake(22.3, 41.1) controlPoint1: CGPointMake(59.4, 8.1) controlPoint2: CGPointMake(36.2, 21.2)];
bezier46Path.lineCapStyle = kCGLineCapRound;
bezier46Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier46Path.lineWidth = 8;
[bezier46Path stroke];
//// Bezier 48 Drawing
UIBezierPath* bezier48Path = UIBezierPath.bezierPath;
[bezier48Path moveToPoint: CGPointMake(148.9, 41.1)];
[bezier48Path addCurveToPoint: CGPointMake(85.6, 8.1) controlPoint1: CGPointMake(134.9, 21.1) controlPoint2: CGPointMake(111.8, 8.1)];
bezier48Path.lineCapStyle = kCGLineCapRound;
bezier48Path.lineJoinStyle = kCGLineJoinRound;
[color0 setStroke];
bezier48Path.lineWidth = 8;
[bezier48Path stroke];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment