SPB Git

Repository Public License

icon-design.md 9.8 KB

# Icon design

The icon is generated by code. design/icon/concepts.py draws the five concepts that were explored; design/icon/build.py draws the production icon from one shared geometry and exports every asset. Nothing was drawn by hand, so everything on this page can be regenerated and checked against the scripts.

# The five concepts

All five use the same violet gradient tile (#A78BFA → #7C3AED → #4C1D95), a white-to-lavender foreground (#FFFFFF → #E4DCFF) and mint (#34D399) for the protected element. The contact sheet shows each at 180, 60 and 29 px with the Home Screen mask, on a light and on a dark wallpaper.

The five icon concepts at 180, 60 and 29 px on light and dark wallpapers

From left to right:

# File (design/icon/concepts/) Idea Construction
1 01-orix-o-shield.svg the ORIX ring holding a small solid shield four arcs (centre-line radius 264, stroke 96) around a mint shield
2 02-security-aperture.svg a security aperture: six iris blades closing on a hexagonal opening six rotated blades of radius 300, a mint disc of radius 58 at the centre
3 03-protective-ring.svg protective rings: the ORIX ring, a thin unbroken guard ring, what is protected at the centre four arcs (radius 280, stroke 84), a mint circle (radius 150, stroke 34), a white core (radius 56)
4 04-keyhole.svg minimal cryptographic symbol: the ring with a keyhole four arcs (radius 264, stroke 96) around a white keyhole
5 05-shield-ring.svg layered monogram: the four ORIX arcs drawn along a shield contour, protecting a core a shield path stroked at 92 with a dash pattern (pathLength=100, dashes 19.5 / 5.5), a mint disc of radius 70

# Evaluation

Judged on the contact sheet above. Ratings are the designer's reading of the renders (● good, ◐ acceptable, ○ weak), not measurements.

Criterion 1 Ring + shield 2 Aperture 3 Protective ring 4 Keyhole 5 Shield contour
Originality ○ a shield in a ring is the stock security motif ◐ unusual, but reads as a camera iris ● no borrowed security symbol ◐ a keyhole is a common lock motif ○ renders as a plain shield outline
Recognisability ◐ ○ a white disc with a hexagon; no link to the family ● ring, ring, dot ● ◐ generic
Small-size legibility (29 px) ◐ the shield becomes a blob ◐ a white disc; the blades disappear ● three concentric shapes survive ● ● a simple outline
Geometric balance ◐ the shield's point pulls the eye down ● ● fully radial, even gaps ◐ the keyhole stem is bottom-heavy ◐
Brand consistency (ORIX ring) ● ○ the ring is gone ● ● ○ the arcs were lost in rendering
Contrast ● ● ● white and mint on violet ● ●
Home Screen appearance ◐ ◐ a large white mass, heavier than its neighbours ● ● ◐
App Store presentation ◐ close to clip art at large size ◐ suggests a camera app ● distinct at large size ◐ says "lock", "password" ○ indistinguishable from other security apps

# Why concept 3, "protective ring"

Concept 3 was chosen: the four-arc ORIX ring, an unbroken mint guard ring, and the protected core.

  • It keeps the family ring intact and adds meaning inside it, which is the family's rule: same ring, different centre.
  • The idea is in the geometry. The outer ring has four gaps; the guard ring has none. The only closed shape in the mark is the one that protects, and it is the only mint element.
  • It claims nothing the app does not do. No shield, padlock or check mark: the app assesses and explains, and its icon avoids the vocabulary of antivirus products for the same reason its text does (see brand-guidelines.md).
  • It survives small sizes. Three concentric shapes with clear gaps remain distinct at 29 px.
  • It works without colour. The structure reads in grayscale, which the tinted appearance requires.

Why not the others:

  • Concept 5 did not render as intended. The dashed stroke was meant to lay the four ORIX arcs along a shield contour; with the wide stroke and round caps the dashes merged, and the result reads as a generic solid shield outline with a dot — neither the family ring nor an original shape.
  • Concept 1 is a shield inside a ring: the closest of the five to clip art, and the shield loses its shape at small sizes.
  • Concept 2 loses the family ring altogether, and the blades merge into a white disc.
  • Concept 4's keyhole reads well at every size, but it says "lock" more than "assessment": it suggests a password manager or an app locker, which this app is not.

# Geometry

From design/icon/build.py, on a 1024 × 1024 canvas centred at (512, 512). The production geometry is concept 3 slightly enlarged (ring radius 280 → 284, guard ring 150 → 152, core 56 → 58).

Element Geometry
ORIX ring four arcs centred at 45°, 135°, 225° and 315°, each spanning 52° (half-span 26°); centre-line radius 284, stroke 84, round caps. Outer diameter 652 = 64 % of the tile.
Guard ring full circle, radius 152, stroke 34, no gap
Core filled circle, radius 58

Resulting clearances: 73 units between the inner edge of the ORIX ring (242) and the outer edge of the guard ring (169), and 77 units between the inner edge of the guard ring (135) and the core (58) — two nearly equal bands of background, which is what keeps the three shapes separate at small sizes.

The in-app mark (ORIXMark in Packages/ORIXDesign/Sources/ORIXDesign/Components.swift) redraws the same figure in a SwiftUI Canvas, scaled to fill its frame: ring radius 0.36 × side with stroke 0.105 × side and arcs from 19° to 71° in each quadrant, guard ring radius 0.19 × side with stroke 0.043 × side, core radius 0.072 × side.

# Colours

Default Dark Tinted
Background linear gradient #A78BFA → #7C3AED (50 %) → #4C1D95, from (96, 0) to (928, 1024) transparent #000000
Glow radial, mint #34D399 at 30 % → 0 %, radius 250, behind the artwork — —
ORIX ring vertical gradient #FFFFFF → #E4DCFF diagonal gradient #C4B5FD → #8B5CF6 vertical gradient #FFFFFF → #9A9A9A
Guard ring #34D399 #34D399 #C8C8C8
Core #FFFFFF #F5F3FF #FFFFFF

# The three appearances

Default, dark and tinted appearances

Appearance File in AppIcon.appiconset Format
Default AppIcon.png 1024 × 1024, opaque RGB (no alpha channel), sRGB profile embedded
Dark AppIcon-Dark.png 1024 × 1024, RGBA with a transparent background: the system supplies the dark backdrop; sRGB
Tinted AppIcon-Tinted.png 1024 × 1024, grayscale artwork on black (stored as RGB): the system applies the user's tint

Each appearance is a single 1024 × 1024 asset in the asset catalog (idiom: universal, platform: ios, with a luminosity appearance of dark or tinted for the two variants). There are no per-size PNGs: the system derives every size and applies the icon mask. The masters contain no rounded corners.

In the illustration above, the dark backdrop and the violet tint are simulated by build.py (an approximation of the system's dark backdrop, and the ORIX violet as the user's tint). On a device the backdrop and the tint are the system's and the user's.

# Sizes

The default icon at 180, 120, 60 and 29 px

The default icon at 180, 120, 60 and 29 px with the Home Screen mask applied by design/icon/contact.py (a rounded rectangle with a corner radius of 22.37 % of the side, an approximation of the system shape used for these previews only).

# Files

Path Content
design/icon/concepts.py the five concepts and the contact sheet
design/icon/build.py production masters and every exported asset
design/icon/contact.py mask, wallpaper and contact-sheet helpers
design/icon/concepts/*.svg the five concept SVGs
design/icon/master/orix-secure-icon.svg, -dark.svg, -tinted.svg SVG masters of the three appearances
design/icon/master/orix-secure-mark.svg single-colour template mark
design/icon/render/ intermediate PNG renders (git-ignored)
App/Resources/Assets.xcassets/AppIcon.appiconset/ the three 1024 px icons and Contents.json
App/Resources/Assets.xcassets/Mark.imageset/Mark.svg in-app template mark, vector preserved
App/Resources/Assets.xcassets/LaunchMark.imageset/ launch mark, 96 pt at 1×, 2×, 3×, from the dark-appearance artwork
App/Resources/Assets.xcassets/LaunchBackground.colorset, AccentColor.colorset #F4F5FA / #0A0D18 and #7C3AED / #A78BFA
docs/assets/logo.svg, icon-1024.png, icon-256.png repository artwork
docs/assets/concepts.png, icon-appearances.png, icon-sizes.png the illustrations on this page

All SVG and asset files written by the scripts are generated: change the script, not the output.

# Regenerating

Requirements: Python 3 with Pillow, and rsvg-convert (brew install librsvg).

bash
python3 design/icon/build.py       # masters, AppIcon set, mark, launch mark, colour sets, docs/assets icon art
python3 design/icon/concepts.py    # the five concepts and docs/assets/concepts.png

Both print ok. build.py rewrites the asset catalog entries listed above, so rebuild the app afterwards. To change the icon, edit the constants at the top of build.py (R, W, HALF, GR, GW, CORE) or the colour stops, and keep ORIXMark in Components.swift in step with the new proportions.

Files main
Menu

Theme