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 1038817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:01:22+00:00 2026-05-16T15:01:22+00:00

Assume I want to program a Star Field animation. Not by using OpenGL but

  • 0

Assume I want to program a Star Field animation. Not by using OpenGL but by drawing directly to the screen buffer or to off-screen buffers that can be placed on screen.

That Star Field demo running on the TRS-80 is of course just an example. Think video decoding or full-screen animations as other possibilities where rates of 20+ frames per second are needed.

What are good techniques for doing this? I am interested in both official and private API implementations.

If you can, please show some basic code.

  • 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-16T15:01:23+00:00Added an answer on May 16, 2026 at 3:01 pm

    Here’s a brief outline of one common and reasonably fast method.

    During initialization, use CGBitmapContextCreate() to create at least 2 bitmap contexts from pointers to off-screen memory buffers, and add a CALayer as a sublayer of your UIView.

    In your render loop, alternate your double buffer use, copy into and/or modify the current off-screen memory buffer, use CGBitmapContextCreateImage() to create an image from that buffer, and assign the resulting image to the CALayer contents.

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

Sidebar

Related Questions

I want to make a program that would record audio data using PortAudio (I
I want to write a program, which search some HTML addresses. I assume that
Assume that I want to exit a console program if the user entered the
I'm using Easy68k to make a simple program that includes a while loop. Assume
I want to use JQuery in a Javascript program I'm working on but I
If I allocated memory in my C program using malloc and now I want
I am using a TMS object inspector at run time, but assume my question
I want to read input from user using C program. I don't want to
Assume that i have written a program in C++ without using RTTI and run-time
Assume I want to generate an element similar to this in ASP.NET MVC 2:

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.