BlockiesSwift alternatives and similar libraries
Based on the "Graphics" category.
Alternatively, view BlockiesSwift alternatives based on common mentions on social networks and blogs.
SVGKit9.4 4.0 L2 BlockiesSwift VS SVGKitDisplay and interact with SVG Images on iOS / OS X, using native rendering (CoreAnimation)
SwiftSVG8.2 0.0 L4 BlockiesSwift VS SwiftSVGA simple, performant, and lightweight SVG parser
jot8.1 0.0 L4 BlockiesSwift VS jotAn iOS framework for easily adding drawings and text to images.
NXDrawKit7.6 0.0 L4 BlockiesSwift VS NXDrawKitNXDrawKit is a simple and easy but useful drawing kit for iPhone
Snowflake6.8 0.0 L5 BlockiesSwift VS Snowflake❄️ SVG in Swift
YYAsyncLayer6.4 0.0 L2 BlockiesSwift VS YYAsyncLayeriOS utility classes for asynchronous rendering and display.
Drawsana6.2 0.0 BlockiesSwift VS DrawsanaAn open source library that lets your users draw on things - mark up images with text, shapes, etc.
AnimatedGradientView🎞 Powerful gradient animations made simple for iOS.
InkKit4.7 0.0 L5 BlockiesSwift VS InkKitDrawing and Geometry made easy on iOS - now in Swift 3.0
ProcessingKit4.3 0.0 BlockiesSwift VS ProcessingKitVisual designing library for iOS & OSX
PKCoreTechniques3.2 0.0 L3 BlockiesSwift VS PKCoreTechniquesThe code for my CoreGraphics+CoreAnimation talk, held during the 2012 iOS Game Design Seminar at the Technical University Munich.
MPWDrawingContext2.8 0.0 L4 BlockiesSwift VS MPWDrawingContextAn Objective-C wrapper for CoreGraphics CGContext
GraphLayout2.5 0.0 BlockiesSwift VS GraphLayoutGraphLayout - iOS UI controls to visualize graphs. Powered by Graphviz
Rough2.4 0.0 BlockiesSwift VS RoughRough lets you draw in a sketchy, hand-drawn-like, style.
FancyGradient1.7 0.0 BlockiesSwift VS FancyGradientPowerful animated gradientView in swift 🌈
Graphicz1.5 0.0 L5 BlockiesSwift VS GraphiczLight-weight, operator-overloading-free complements to CoreGraphics!
DePict1.1 0.0 L5 BlockiesSwift VS DePictA simple, declarative, functional drawing framework, in Swift!
HxSTLParser1.0 0.0 BlockiesSwift VS HxSTLParserBasic STL loader for SceneKit
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of BlockiesSwift or a related project?
This library is a Swift implementation of the Ethereum fork of Blockies which is intended to be used in iOS, watchOS, tvOS and macOS apps.
Blockies generates unique images (identicons) for a given seed string. Those can be used to create images representing an Ethereum (or other Cryptocurrency) Wallet address or really anything else.
To run the example project, run
pod try BlockiesSwift. Or clone the repo, and run
pod install from the Example directory.
BlockiesSwift is available through CocoaPods. To install
it, simply add the following line to your
BlockiesSwift is compatible with Carthage, a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To install it, simply add the following line to your
Basic usage is very straight forward. You just create an instance of
Blockies with your seed and call
createImage() to get your image.
import BlockiesSwift let blockies = Blockies(seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724") let img = blockies.createImage() yourImageView.image = img
This will generate an image with
size set to 8 and
scale set to 4.
size is the width and height of the Blockies image in blocks,
scale is the width and height of one block in pixels.
Per default, random colors are generated for the given seed. You can change that but keep in mind that the pattern will also change if you provide custom colors as there will be less calls to the internal
The following is a full example.
import BlockiesSwift let blockies = Blockies( seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724", size: 5, scale: 10, color: UIColor.green, bgColor: UIColor.gray, spotColor: UIColor.orange ) let img = blockies.createImage() yourImageView.image = img
The following sizes work well for most cases.
- size: 8, scale: 3
- size: 5, scale: 10
Sizes above 10 generate more noisy structures. If you want to generate bigger images, you can go for a set of
scale from the above and pass a
customScale value to
import BlockiesSwift let blockies = Blockies( seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724", size: 8, scale: 3 ) let img = blockies.createImage(customScale: 10) yourImageView.image = img
The image in this example would be
8 * 3 = 24x24 pixels without a custom scale. With the
customScale set to
10 it will be
8 * 3 * 10 = 240x240 pixels. The
customScale lets you generate bigger images with the same structure quality as the smaller ones.
Koray Koska, [email protected]
BlockiesSwift is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the BlockiesSwift README section above are relevant to that project's source code only.