Skip to content

Commit d9d9baf

Browse files
authored
matched headings with bc-lifehash
1 parent c01b5de commit d9d9baf

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ After the pattern becomes stable (or begins repeating) the resulting history is
2222

2323
Some bits of the initial hash are then used to deterministically apply symmetry and color to the icon to add beauty and quick recognizability.
2424

25-
#### Implementations
25+
## Implementations
2626

2727
| Type | Name | Language | Note |
2828
|------|------|----------|------|
2929
| Reference | [bc-lifehash](https://github.com/BlockchainCommons/bc-lifehash) | C++/C
3030
| Reference | [LifeHash](https://github.com/BlockchainCommons/LifeHash) | Swift
3131
| Reference | [LifeHash](https://github.com/BlockchainCommons/LifeHash) | Mathematica/Wolfram Language | `version1` only
3232

33-
#### LifeHashTool Command Line Tool
33+
## Command-Line Tools
3434

3535
[LifeHashTool](https://github.com/BlockchainCommons/LifeHashTool) is a command line tool written in Swift that generates LifeHash images as PNG files.
3636

37-
#### LifeHashes In Five Flavors
37+
## LifeHashes In Five Flavors
3838

3939
* **`version1`** The Original. **DEPRECATED**
4040
* **`version2`** Bug fixes and CMYK-friendly.
@@ -44,19 +44,19 @@ Some bits of the initial hash are then used to deterministically apply symmetry
4444

4545
⚠️ **NOTE:** The images generated by LifeHash from a given seed will not be recognizably similar between each of these versions. So pick the one you want to use for your application and stick with it!
4646

47-
##### Version 1 (DEPRECATED)
47+
### Version 1 (DEPRECATED)
4848
![LifeHash Example](Art/version1.jpg)
4949

50-
##### Version 2
50+
### Version 2
5151
![LifeHash Example](Art/version2.jpg)
5252

53-
##### Detailed
53+
### Detailed
5454
![LifeHash Example](Art/detailed.jpg)
5555

56-
##### Fiducial
56+
### Fiducial
5757
![LifeHash Example](Art/fiducial.jpg)
5858

59-
##### Grayscale Fiducial
59+
### Grayscale Fiducial
6060
![LifeHash Example](Art/grayscale-fiducial.jpg)
6161

6262
### From the "LifeHash Example" demo app:
@@ -77,7 +77,7 @@ Some bits of the initial hash are then used to deterministically apply symmetry
7777

7878
![Samples of LifeHash](Art/Samples-0-Mathematica.jpg?raw=true "Samples 0")
7979

80-
## Tips for Presenting LifeHash Images
80+
### Tips for Presenting LifeHash Images
8181

8282
* Don't vignette or round the corners of a LifeHash image, every pixel contributes to the security of the image, so show the image as a square. If you *really* want to round the corners, make the radius small enough to still show the corner pixels.
8383
* Don't interpolate or blur a LifeHash image: show every pixel crisply. On iOS UIKit this is accomplished by setting `layer.magnificationFilter = .nearest` on a `UIImageView`. Under SwiftUI you call `myImage.interpolation(.none)`. The iOS LifeHash library already does this for you.

0 commit comments

Comments
 (0)