RandomBlobs
A project that shows how to create random, non-selfintersecting smoothly curved shapes using UIBezierPaths and Catmull-Rom spline based smoothing. (With a tip of the hat to Erica Sadun, who's path smoothing recipe is a key component.)
Install / Use
/learn @DuncanMC/RandomBlobsREADME
RandomBlobs
A project that shows how to create random, non-selfintersecting smoothly curved shapes using UIBezierPaths and Catmull-Rom spline based smoothing. (With a tip of the hat to Erica Sadun, who's path smoothing recipe is a key component.)
This project demonstrates a number of iOS aninimation and drawing techniques, as well as a few others.
##Animation Techniques
- Using Catmull-Rom splines to create a path out of a set of points, where all the points are on a curve.
- Creating an animated shape using a
CAShapeLayerand aCABasicAnimationthat changes the layer's path - Animating an object along a path (link: path animation)
- Doing keyframe animation animation using the new iOS 7 UIView method
animateKeyframesWithDuration:delay:options:animations:completion: - Duplicating the results of
animateKeyframesWithDuration:delay:options:animations:completion:using Core Animation CAKeyframeAnimation and an array of points - Creating keyframe animations using a
CAKeyframeAnimationand aCGPath
- Doing keyframe animation animation using the new iOS 7 UIView method
##Miscellaneous techniques
- Using block-based NSNotificationCenter observers
- [Sliding your views to make room for the keyboard](Shifting text views for the keyboard.md)
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
