You can place a sleep() or nanosleep() in the main loop.  Experiment with 
various values until you get the desired result.

Regards,

Mark

On Thursday, 13 June 2019 02:08:49 UTC+1, [email protected] wrote:

> Hello,
>
> Is there anyway to slow down the animation speed? For instance, reduce the 
> time between each shape being displayed? Thank You
>
> On Monday, December 22, 2014 at 8:44:28 AM UTC-5, Mark Riley wrote:
>>
>> Rick,
>>
>> I've attached the source code for some framebuffer experimentation I did.
>>
>> You'll see circle, line and filled triangle code.  Should be self 
>> explanatory.
>>
>> To compile :- 
>> gcc frame.c -o frame
>>
>> Best regards,
>>
>> Mark
>>
>> On 18 December 2014 at 22:12, Rick Mann <[email protected]> wrote:
>>>
>>>
>>> > On Dec 18, 2014, at 00:29 , [email protected] wrote:
>>> >
>>> > Have you tried writing direct to the Video Frame Buffer, I have.
>>>
>>> I wrote an app that used SDL, but it had to use (I think) a software 
>>> frame buffer, something about there not being support in the kernel for 
>>> some hardware frame buffer? I'm not sure what it was. But I'd love to be 
>>> able to use SDL to take over the entire display, and not use any kind of 
>>> desktop or window manager (that's just buckets of more code that slow 
>>> boot/launch times).
>>>
>>> For my app, fast update wasn't necessary (it was a process automation 
>>> controller-type thing), but it would be nice to be able to draw as fast as 
>>> possible with SDL.
>>>
>>> Does this work now?
>>>
>>> Thanks!
>>>
>>> --
>>> Rick Mann
>>> [email protected]
>>>
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "BeagleBoard" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/beagleboard/3zwXeVcTXtM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dd20b818-f7ef-4b06-9670-0b55eb744775%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to