06-14-2023, 01:08 AM
Summer Banner? YES! (Submit entries until the 20th!)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
06-14-2023, 09:46 PM
Below is the image for my entry in the summer banner challenge.
The attached ZIP file contains the code and images to create the banner. The sunflower field is randomly generated. Each sunflower is created from random petal placements around a randomly created seed pod. Every time you run the code a new sunflower field is generated containing new entirely random sunflowers. The image is then saved as "SummerBanner.PNG" thanks to Steve's Image Library. Code: (Select All)
Excellent! @TerryRitchie I recommend showing off some of that extra work you did with the stems yLoc to 230 instead of 280
Compare:
b = b + ...
06-14-2023, 11:11 PM
Hi Terry, I downloaded 'Summer.zip'. Loaded it and got 5 Warnings in SaveImage.BM - Unused variables. Loaded on QB64-PE 3.8.0 and 3.7.0 with the same warnings in Linux OS. What about Windows? I loaded Summer on Windows 10 in 3.8.0 the same results. What I am missing? I am new to the forum. I was looking forward to seeing your banner on my computer. Things like that happens.
(06-14-2023, 11:11 PM)GareBear Wrote: Hi Terry, I downloaded 'Summer.zip'. Loaded it and got 5 Warnings in SaveImage.BM - Unused variables. Loaded on QB64-PE 3.8.0 and 3.7.0 with the same warnings in Linux OS. What about Windows? I loaded Summer on Windows 10 in 3.8.0 the same results. What I am missing? I am new to the forum. I was looking forward to seeing your banner on my computer. Things like that happens. Simple answer, just ignore the warnings and hit F5, the program will work as is. It simply tells you there are declared variables in the SaveImage library, which actually never are used to hold a value or taking part in any operations. So, the only harm done to the program is wasting a couple bytes of memory (1-8 bytes per variable depending on its type).
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32 Libraries & useful Functions: https://staging.qb64phoenix.com/forumdisplay.php?fid=23 (06-14-2023, 11:11 PM)GareBear Wrote: Hi Terry, I downloaded 'Summer.zip'. Loaded it and got 5 Warnings in SaveImage.BM - Unused variables. Loaded on QB64-PE 3.8.0 and 3.7.0 with the same warnings in Linux OS. What about Windows? I loaded Summer on Windows 10 in 3.8.0 the same results. What I am missing? I am new to the forum. I was looking forward to seeing your banner on my computer. Things like that happens. The warnings for unused variables comes from Option _Explicit, they are harmless for compiles. Run anyway! Man! you have 3.8 already, good for you!
b = b + ...
06-15-2023, 12:24 AM
(This post was last modified: 06-15-2023, 12:25 AM by TerryRitchie.)
(06-14-2023, 11:02 PM)bplus Wrote: Excellent! @TerryRitchie I recommend showing off some of that extra work you did with the stems yLoc to 230 instead of 280 Yeah, I didn't know if I should go for total sunflower overload or let them show a little stem. ![]() If my banner wins you guys can generate different variations and decide which one you like best.
06-15-2023, 12:33 AM
06-15-2023, 12:34 AM
Nice!
b = b + ...
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)