Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted
18 hours ago, Draco1962 said:

How difficult would it be to add an option to allow for a cylindrical wrapping of the text/graphic elements vs. spherical? 

Pretty tricky!

All the pixels are drawn individually based on some clever maths to sphereise the image. It would need an entirely new algorithm for a cylinder. 

Posted
4 hours ago, scutters said:

Pretty tricky!

All the pixels are drawn individually based on some clever maths to sphereise the image. It would need an entirely new algorithm for a cylinder. 

Can I have my blinking red button of death, then?

 

groot-this.gif

  • Haha 2
Posted (edited)
On 4/6/2025 at 6:29 PM, Draco1962 said:

Can I have my blinking red button of death, then?

No!. But i had another look and made some progress (i just had to remove a couple of sin multipliers ;))

New test version;

 

Using my usual test images;

image.thumb.png.9b976e82b5e7cd863863ff968603f011.pngimage.thumb.png.a296311dfd769aa7d0a0bfc0819226a8.png

New Options

Draw Cylinder

As this breaks some of the existing functionality (the resulting image isn't round - so the overlays won't work etc) i've made it an advanced option and it can only be enabled by editing the ini file rather than with a GUI option. To enable it in the Output section of the ini file (Config_ImageToSpinBall.ini) add DrawCylinder=True

[Output]
DrawCylinder=True

Make sure any edits to the ini file are made when the app isn't running.

Then with these settings;

image.thumb.png.f72ffa32cb5dd24e003928ca4c1cdbb7.png

Will produce;

image.thumb.png.a1e0632600a505225235ad04fb1cc1bb.png

(note that i also wouldn't recommend changing the rotation axis to anything other than 0,90,270,360 when using the cylinder output as the image can get trimmed)

3D Depth

Adds depth to the spinning image (needs transparent areas in the source image so will not work if underlay colour is selected). Can be seen in cylinder apng above but with these settings (and the cylinder option in the ini set to False or removed);

image.thumb.png.c9141389d1adf8881b7af3288337a657.png

Will give;

image.thumb.png.205318c95b10ad9ce76a4f94502d035b.png

 

Edited by scutters
attachment removed - full update now released
  • Thanks 1
Posted

This is awesome! Now how about a rotating icosidodecahedron?

All kidding aside, these changes will give some added options. I may just copy the existing Spinball directory and make the cylinder mod to the config in the copied path so I don't have to modify the config each time. 

  • Thanks 1
Posted
4 hours ago, Draco1962 said:

I may just copy the existing Spinball directory and make the cylinder mod to the config in the copied path so I don't have to modify the config each time. 

That is one option, how worthwhile it'd be depends how often you'd be changing between spheres and cylinders (i wasn't expecting it'd be that often!). But it would work, just have one spinball directory and one spinbarrel (? :lol: ) directory. 

And sorry, there's no plans at all for a full set of spinning D&D style dice options!

2 hours ago, Mike_da_Spike said:

Maybe an option to export and import the config files would be handy?

It might be, but then i may as well just add the option to the gui instead ;) (but i'm viewing the cylinder option as extended rather than core functionality for now - maybe i'll review if the cylinder option proves popular!)

Posted

If available as a GUI option rather than a manual config change, it may be easier to prove its popularity. I will tinker, of course!

Posted

My first Spinbarrel for comparison with the original

Spinball - I do like the 3D Depth addition too!

image.gif

 

image.gif

I have to say that I like the Spinbarrel a little better as It will not distort the text if it the logo file used is taller.

Posted

Size and position make a difference. First is the original image I created with the Spinball settings a few days ago:

image.gif

Next is the same using the Spinbarrel settings - definitely some distortion of the round logo:

image.gif

Posted
6 hours ago, Draco1962 said:

Next is the same using the Spinbarrel settings - definitely some distortion of the round logo:

Is that 'cyclindrical distortion'? (https://i.redd.it/mu7gtyz5835e1.jpeg) not sure i can do anything about that. The distortion is just more obvious with a circle drawn on a cylinder. 

From that link;

image.thumb.png.bc515d105371ed5704695d0d4c270469.png

Posted
2 hours ago, scutters said:

Is that 'cyclindrical distortion'? (https://i.redd.it/mu7gtyz5835e1.jpeg) not sure i can do anything about that. The distortion is just more obvious with a circle drawn on a cylinder. 

From that link;

image.thumb.png.bc515d105371ed5704695d0d4c270469.png

Gotcha! On some of the logos I will likely have to adjust them by putting them within a transparent rectangle or square below a certain height threshold to minimize it.  Below is one I did with the logo centered on a 1000x1000px transparent square - some improvement.image.gif

Posted
32 minutes ago, Draco1962 said:

Gotcha! On some of the logos I will likely have to adjust them by putting them within a transparent rectangle or square below a certain height threshold to minimize it.  Below is one I did with the logo centered on a 1000x1000px transparent square - some improvement.

Yep, or, depending on your artistic license remove the red circle from the logo? (in that case anyway)

Posted
4 minutes ago, scutters said:

Yep, or, depending on your artistic license remove the red circle from the logo? (in that case anyway)

🙃I guess that is an option.. dammit.image.gif

 

  • Like 2
Posted (edited)

Another test version;

 

Doesn't add any new functionality, but i've attempted to smooth out some of the noise you could get as images passed the East & West horizons which becomes more obvious when using the 3D Depth option.

Not sure if it's really visible here but this is before (watch as the first T passes the NW horizon)

image.thumb.png.ae0849f6cab772248f5f34db1edccc8e.png

and now

image.thumb.png.411f5dba286b8a4a33a84fafdf34a78c.png

Click on the images to preview.

Hopefully that's the last planned change!

 

Edit - oops, i forgot, there was one functional change - you can now select cylinder output in the gui (option at bottom right of the form)

Edited by scutters
attachment removed - full update now released
Posted
1 hour ago, Draco1962 said:

Any idea why this has started to occur - logo offset the base image? 

Not sure how i broke that!. Is there any chance the console image you're overlaying onto is 2000*2000 or something?. If not can you zip up & post the source images you're using and i'll have a proper look.

Posted

Think I found the issue. For some reason the config overwrote itself and reduced the image size to 500! I changed it to 1000 and voila! Fixed. Derp!

  • Haha 1
Posted
1 hour ago, Draco1962 said:

Think I found the issue. For some reason the config overwrote itself and reduced the image size to 500! I changed it to 1000 and voila! Fixed. Derp!

Thanks, nice that you tested that the original overlay in a larger picture functionality is still working ;)

Posted
21 hours ago, scutters said:

Thanks, nice that you tested that the original overlay in a larger picture functionality is still working ;)

It wasn't intentional, but you're welcome! :P

Posted

Liking the "spin barrel" treatment to the logo files just a smidge better than the ball for the project I am working on. The 3D effect is also a winner, especially for the white or light-colored text pop.

image.gif

image.gif

  • Like 1
Posted

First batch of console Spinball Cylinder Spinning Text Logos documented here:

Thanks @scutters! If at all possible, adding the option to the GUI would be great

Posted (edited)
On 4/14/2025 at 11:09 AM, Draco1962 said:

Thanks @scutters! If at all possible, adding the option to the GUI would be great

It should have been there in the last version (just well disguised!). Bottom right of the window;

image.png.a83dfda9e2ff76af7c671ef1275b43c5.png

 

I was wrong when i said there were no more changes planned. No more functional changes but i did need to update libraries, .net version etc. So here's a version with everything updated, V1.5.0

 

If everything's ok with this i'll post it as a proper update later in the week. So please give it a whirl when you get chance @Draco1962

 

Edited by scutters
attachment removed - full update now released

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...