kopia lustrzana https://github.com/sepandhaghighi/samila
rodzic
66d2c788d0
commit
fc2dbd0db9
|
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
### Changed
|
### Changed
|
||||||
- Random mode modified
|
- Random mode modified
|
||||||
- Test system modified
|
- Test system modified
|
||||||
|
- `generate` method optimized
|
||||||
## [0.8] - 2022-06-01
|
## [0.8] - 2022-06-01
|
||||||
### Added
|
### Added
|
||||||
- `INVALID_COLOR_TYPE_ERROR` error
|
- `INVALID_COLOR_TYPE_ERROR` error
|
||||||
|
|
|
@ -79,8 +79,7 @@ class GenerativeImage:
|
||||||
self.data1 = []
|
self.data1 = []
|
||||||
self.data2 = []
|
self.data2 = []
|
||||||
range1 = list(float_range(self.start, self.stop, self.step))
|
range1 = list(float_range(self.start, self.stop, self.step))
|
||||||
range2 = list(float_range(self.start, self.stop, self.step))
|
range_prod = list(itertools.product(range1, range1))
|
||||||
range_prod = list(itertools.product(range1, range2))
|
|
||||||
calc_exception = False
|
calc_exception = False
|
||||||
for point in range_prod:
|
for point in range_prod:
|
||||||
if not fill_data(self, point):
|
if not fill_data(self, point):
|
||||||
|
|
Ładowanie…
Reference in New Issue