HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.18k stars 4.3k forks source link

F*^%% You need more layers or elements to grow your edition to 250000 artworks! #852

Open DoubleL2 opened 2 years ago

DoubleL2 commented 2 years ago

So I got this message and it stopped creating at 94k. WTF? I already calculated and the amount of layers and elements I have is WELL over 1 Billion unique possibilities.

5 x 2 x 19 x 26 x 7 x 11 x 21 x 3 x 5 x 1 x 10 = 1,198,197,000....

WTH would it stop and say I don't have enough layers. I've randomly picked items, looked through thumbnails and doesn't seem to be skipping.

AND..... How do I start it at the next number in line? AND Why wouldn't that be calculated based on what's there before hand? And I'm ok with repeating some AND I have over a BILLION UNIQUE possibilities...

bolshoytoster commented 2 years ago

@lloydcarroll once hashlips has made a certain number of duplicates, it assumes most of the rest it will make will be duplicates. You can remove this by removing the line failedCount++ from ~line 418 of src/main.js: https://github.com/HashLips/hashlips_art_engine/blob/7ea809424694e4f3348d0c2281eb8d9e8e483649/src/main.js#L417-L419

DoubleL2 commented 2 years ago

Should it not try to make other combos not made yet? 1B possibilities and it supported so many in 84k that it errors out?

I will probably remove that but I think that's tired to the other number which I had seen to 10000 I think.

On Thu, Mar 3, 2022, 2:05 AM bolshoytoster @.***> wrote:

@lloydcarroll https://github.com/lloydcarroll once hashlips has made a certain number of duplicates, it assumes most of the rest it will make will be duplicates. You can remove this by removing the line failedCount++ from ~line 418 of src/main.js:

https://github.com/HashLips/hashlips_art_engine/blob/7ea809424694e4f3348d0c2281eb8d9e8e483649/src/main.js#L417-L419

— Reply to this email directly, view it on GitHub https://github.com/HashLips/hashlips_art_engine/issues/852#issuecomment-1057780324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2ARAGJZQ342LMRDCAKYRLU6BXELANCNFSM5PZITHIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

bolshoytoster commented 2 years ago

@lloydcarroll the way hashlips generates probably isn't the best for large collections. It generates a random one, then checks if it's a duplicate.

DoubleL2 commented 2 years ago

It's really the only one I could find other than options to render in 3d programs which was taking about 100x as long. I can go through and deal with this I think. But how can I start at a certain number? Would that be setting this line to the next number?

let editionCount = 1;

Also, I have little trust for much out there, so do you have another recommendation?

bolshoytoster commented 2 years ago

@lloydcarroll

how can I start at a certain number?

My fork supports this. You set startEditionFrom the same as you set growEditionSizeTo.

qamtrading commented 2 years ago

failedCount++

No funciona !!!

JayGalvan90 commented 2 years ago

@lloydcarroll

how can I start at a certain number?

My fork supports this. You set startEditionFrom the same as you set growEditionSizeTo.

Have you found a solution yet ??

bolshoytoster commented 2 years ago

@qamtrading could you elaborate please

@JayGalvan90 a solution to what?

JayGalvan90 commented 2 years ago

@qamtrading could you elaborate please

@JayGalvan90 a solution to what?

Sorry my bad I tagged wrong person lol

qamtrading commented 2 years ago

Ok, I´m working in this problem, When I have one solution, I gonna posted here.

bolshoytoster commented 2 years ago

@qamtrading a solution to what?