QB64.org Forum

Active Forums => Programs => Topic started by: loudar on October 18, 2020, 09:24:17 pm

Title: AVAR - Art generator.
Post by: loudar on October 18, 2020, 09:24:17 pm
Hey!

Finally I can share a usable version of this:
Objects: This generates a bunch of objects (including custom ones, which you can drag/drop into the window and it'll add them under "objects"), and you can tweak the count and the size ranges of each object (open an object by clicking in the top half of the box), as well as colors!
General: You get a preview of the color range, though no respect is paid to lightness/saturation here. Tweak the artwork size, smaller values obviously perform better.
Buttons: The important buttons at the bottom are Preview (generates a preview at a fraction of the full size just to see placement and color in action), Save artwork (saves the generated - previewed ones don't work - artwork into the \AVAR\artworks\ folder as a .png) and Generate (generates the full sized artwork, takes significantly longer than previewing)
Use the little arrow on the bottom right to collapse the menu!

I've been spending a couple of weeks to put this together (this stemmed from the noise generator I posted in August).
Even though this now can do everything I want it to, here's a couple of things I still want to add:
- custom fonts for text generation, at the moment only fonts used by the program are used for the artwork
- better clusters, allowing for more resolution, but i'll have to write a save-to-disk-algorithm for that, should be easy
- instead of having to tweak colors.set when tweaking menu colors, elements in the "Settings" tab, which is why it's so empty right now

If you have suggestions, feedback, or cool artworks to share, don't hesitate to reply!

 [ This attachment cannot be displayed inline in 'Print Page' view ]  
Normal version without code. Play with it!

 [ This attachment cannot be displayed inline in 'Print Page' view ]  
Everything from the normal version + code and assets. Dive into how it's made and be angry about missing comments!
Title: Re: AVAR - Art generator.
Post by: bplus on October 19, 2020, 12:59:41 am
Very interesting I look forward to checking it out.
Title: Re: AVAR - Art generator.
Post by: STxAxTIC on October 19, 2020, 01:19:31 am
These ones are cool:
Title: Re: AVAR - Art generator.
Post by: Dav on October 19, 2020, 08:57:04 am
Hey this is cool!  Good coding.   

I'm gonna spend some time playing around with this today.

- Dav