Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7175709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:21:31+00:00 2026-05-28T16:21:31+00:00

I have a native Delphi TFrame that emulates Roy Tanck’s Cumulus Tag Cloud viewer,

  • 0

I have a native Delphi TFrame that emulates Roy Tanck’s Cumulus Tag Cloud viewer, a WordPress Flash plug-in. What that plug-in does is create a 3D sphere of words that spin around on the surface of a “virtual” sphere. You can see it in action here:

http://www.roytanck.com/2008/03/06/wordpress-plugin-wp-cumulus-flash-based-tag-cloud/

In my application structure each word has its own TBitmap and to render the sphere I print all the word’s bitmaps to a temporary TBitmap and then BitBlt() that temporary TBitmap on to the Canvas of a visible TPaintBox. The render operation occurs on a TTimer timer event that happens every 50 milliseconds.

However, no matter how hard I try there is a noticeable “jitter” to the movement of the words, especially in comparison to the silky smooth movement of the Flash player. I thought increasing the frame rate might help and I even tried using a Multimedia timer that updated every 10 milliseconds with proper locking and unlocking of all the Canvases due to the multithreaded nature of the MM timer. Still jittery. The only thing I can figure is that the calculations I do result in discrete pixel locations for each word to render at and that causes jitter. In contrast, and this is supposition, perhaps Flash potentially does dithering to facilitate “between pixel” rendering or maybe does anti-aliasing in real-time and that’s why it doesn’t jitter?

In any case, is it possible to get the silky smooth motion I am looking for using native Delphi code? Or is the only way to do it is to go all the way to something like a Direct3D or OpenGL solution? I don’t want to waste time tweaking this thing to death if it’s a losing battle. On the other hand, if you have any tips I’d love to hear them. My guess is that if I do have to go the Direct3D/OpenGL route it’s a big job and learning curve so if I could find a way to get this done in native Delphi code I’d love that.

FOLLOW-UP EDIT: Would printing to a much larger “virtual” bitmap and then using a resampling method like that given here help to print “down” to the actual visible Canvas?:

Scale an image nicely in Delphi?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:21:32+00:00Added an answer on May 28, 2026 at 4:21 pm

    I have written a number of games in Delphi. It is certainly doable. There are a number of things to watch for.

    Not only do you have to trigger an event regularly but also check the time when it arrives and move based upon the polled time rather than assuming the time based upon the expected wait period.

    If subpixel accuracy without GPU dependency is needed I would recommend Antigrain Geometry or it’s Pascal cousin AGGPAS for Delphi.

    Animating Fonts can have an additional issue in that font rendering often contains logic to ensure that thin strokes appear on pixel boundries. Moving text rendered in that manner can change appearance as different strokes can jump from being aligned with one pixel to the next.

    If the font is rendered to be pixel aligned, it would perhaps manage better if you quantized rendering to integers. It will still align to pixels but by moving a pixel at a time should make it do so consistently each time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that PHP doesn't yet have native Enumerations. But I have become accustomed
I have a native VC++ project that uses a dll (which is not in
This is probably a multi-part question. Background: we have a native (c++) library that
I have some applications (some native, some .NET) which use manifest files so that
I have inherited from TGroupBox of the Delphi native control and overriden its Paint
I know that since native delphi and delphi.net are different technologies it is unlikely
I have been told that SQL Native Client is supposed to be faster than
I'm working with sqlite and qt. I understand that sqlite doesn't have native user
C++ does not have native support for lazy evaluation (as Haskell does). I'm wondering
I have a native Visual C++ COM object and I need to make it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.