Rotate text?
|
02-03-2015, 03:34 PM
Post: #9
|
|||
|
|||
RE: Rotate text?
Below is a condensed program that has resulted from my attempt to rotate text around the circumference of a circle. I would like to solicit ideas for making the speed of the subroutine, (containing the x and y loops), faster. On the hardware device, the program is taking just over 6 seconds to complete, currently.
The program works by placing twelve known 30° data points in a word list. Each data point is placed at the G1 origin, and passed to the subroutine, whereby each pixel in that string gets analyzed, its location on the circle determined (in the x,y loops), and affixed to G1; then when all is ready, transferred to GO for final display. The x-y subroutine is slower than molasses in winter. The prime chokes, until it eventually coughs up the display. After trying several things that are slower yet, I wonder if there are still better, faster ways to accomplish this? If you patiently wait out the six-seven seconds watching a beautiful blank screen, this program should reward you with the graphic of my efforts, thus far. Help is both needed and appreciated! This project is for fun(?) only, with no commercial intentions. You can see the run-time from Home. Enter: time(Atest); once the display shows up, push the HOME button. I'm seeing around 6.05 seconds. Thanks! -Dale- Drum roll ... Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Rotate text? - DrD - 01-26-2015, 03:28 PM
RE: Rotate text? - cyrille de brébisson - 01-27-2015, 06:57 AM
RE: Rotate text? - Damien - 01-27-2015, 07:22 AM
RE: Rotate text? - cyrille de brébisson - 01-27-2015, 09:11 AM
RE: Rotate text? - DrD - 01-27-2015, 11:20 AM
RE: Rotate text? - Thomas_Sch - 01-27-2015, 12:05 PM
RE: Rotate text? - DrD - 01-27-2015, 01:27 PM
RE: Rotate text? - Thomas_Sch - 01-27-2015, 08:27 PM
RE: Rotate text? - DrD - 02-03-2015 03:34 PM
RE: Rotate text? - cyrille de brébisson - 02-04-2015, 07:41 AM
RE: Rotate text? - DrD - 02-04-2015, 01:25 PM
RE: Rotate text? - Han - 02-04-2015, 01:18 PM
RE: Rotate text? - DrD - 02-04-2015, 01:50 PM
|
User(s) browsing this thread: 6 Guest(s)