circule 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -0
- data/circule-demo.mp4 +0 -0
- data/exe/circule +1 -1
- data/lib/circule/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 359b926c35f918f3a2cc77c41f95384eb225248e4ca53de0f5c4887e7d25694f
|
|
4
|
+
data.tar.gz: a0df3f7a795805fde28ccfd280a4ad0053ad331066e46df8200900c5420f170f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 814054a961e75133cd959ec9a70b0745f18a40f2bf14d1f8137d7cf48b8956254a02f908084c2343d49dc7d1bb5c2481ef3ea3f01faac62cd574b330e007999c
|
|
7
|
+
data.tar.gz: 8f12097c0901eb28c3776ee14f2a28ef438ef10bb51c3e6a6aa07c3ebb02cc08a242ba17a0fe2edd17d2ea4230edb4e8f606f8881e6a03cab00729d73b1a4237
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -12,6 +12,8 @@ Generate an icon of overlapping circles derived from a hash.
|
|
|
12
12
|
3. Each pixel in the output will be colored based on the number of
|
|
13
13
|
circles that point is inside.
|
|
14
14
|
|
|
15
|
+
The [demo video](circule-demo.mp4) shows how the final image is composed.
|
|
16
|
+
|
|
15
17
|
## Installation
|
|
16
18
|
|
|
17
19
|
Add this line to your application's Gemfile:
|
|
@@ -48,6 +50,16 @@ Or install it yourself as:
|
|
|
48
50
|
| -g | --gui | Run GUI (requires glimmer & tk) |
|
|
49
51
|
| -i | --interactive | Run GUI with pry |
|
|
50
52
|
|
|
53
|
+
### CLI Example(s)
|
|
54
|
+
|
|
55
|
+
The icon for this project on GitLab:
|
|
56
|
+
```
|
|
57
|
+
$ echo -n circule | sha256sum
|
|
58
|
+
4b9ae43c4e15486ce131f733eff14547764623d27aa5d1d9aff45b67528f0b60 -
|
|
59
|
+
|
|
60
|
+
$ circule -h 4b9ae43c4e15486ce131f733eff14547764623d27aa5d1d9aff45b67528f0b60 -s /tmp/circule.png
|
|
61
|
+
```
|
|
62
|
+
|
|
51
63
|
## Development
|
|
52
64
|
|
|
53
65
|
After checking out the repo, run `bin/setup` to install
|
data/circule-demo.mp4
ADDED
|
Binary file
|
data/exe/circule
CHANGED
|
@@ -72,7 +72,7 @@ if options[:gui]
|
|
|
72
72
|
gui.canvas = options[:canvas] if options[:canvas]
|
|
73
73
|
gui.ox = options[:ox] if options[:ox]
|
|
74
74
|
gui.oy = options[:oy] if options[:oy]
|
|
75
|
-
gui.
|
|
75
|
+
gui.scale = options[:zoom] if options[:zoom]
|
|
76
76
|
|
|
77
77
|
gui.open options[:file] if options[:file]
|
|
78
78
|
|
data/lib/circule/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: circule
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Frank J. Cameron
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chunky_png
|
|
@@ -41,6 +41,7 @@ files:
|
|
|
41
41
|
- Rakefile
|
|
42
42
|
- bin/console
|
|
43
43
|
- bin/setup
|
|
44
|
+
- circule-demo.mp4
|
|
44
45
|
- circule.gemspec
|
|
45
46
|
- exe/circule
|
|
46
47
|
- lib/circule.rb
|