142 |
143 | 1.7 |
144 | 30-May-2020 |
145 |
146 |
147 | - Fixed: random seeds passed via `--random-seed` parameter were ignored for the two random animation modes
148 |
- The `SVGArcPathSegment` class now can handle arcs larger than 360° (not used by Comitl though)
149 |
150 | |
151 |
152 |
153 | 1.6 |
154 | 22-May-2020 |
155 |
156 |
157 | - Added support for SVG animations with 4 different modes (`--animation-mode`, `--animation-duration`, and `--animation-offset` options)
158 |
159 | |
160 |
161 |
162 | 1.5 |
163 | 22-May-2020 |
164 |
165 |
166 | - Added support for rasterized PNG output (using `cairosvg`)
167 |
- Added `--separate-paths` option
168 |
- Utilize Python's own xml module to generate the SVG data (not that this really improves the code in any way)
169 |
- Improved render aspects to avoid various stroke overlapping issues
170 |
- Added `--background-color` and `--disc-color` options
171 |
- Added `--outline-mode` option
172 |
- Constant ratio for the image border area
173 |
174 | |
175 |
176 |
177 | 1.4 |
178 | 20-May-2020 |
179 |
180 |
181 | - Allow arc specification in degree
182 |
- Arcs are now initialized with angular offsets and ranges
183 |
- Improved code reusability and scope separation
184 |
185 | |
186 |
187 |
188 | 1.3 |
189 | 19-May-2020 |
190 |
191 |
192 | - Refactored in preparation for new features
193 |
- Optimizations
194 |
195 | |
196 |
197 |
198 | 1.2 |
199 | 18-May-2020 |
200 |
201 |
202 | - Utilize SVG groups in the generated output
203 |
- Added automatic identifiers to the SVG elements
204 |
- Updated help text
205 |
206 | |
207 |
208 |
209 | 1.1 |
210 | 18-May-2020 |
211 | Initial public source code release |
212 |
213 |
--------------------------------------------------------------------------------
/comitl.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python3
2 | """
3 | Comitl
4 | Concentrically arranges randomly sized arcs into a pretty disc shape.
5 |
6 | Copyright © 2020 Christian Rosentreter
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU Affero General Public License as published
10 | by the Free Software Foundation, either version 3 of the License, or
11 | (at your option) any later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU Affero General Public License for more details.
17 |
18 | You should have received a copy of the GNU Affero General Public License
19 | along with this program. If not, see