I have a perl script that generates the X,Y and brightness coordinate for a motion starfield. It very basic at the moment with basic orbits just for testing.
I don't want the system to boot to a desktop environment so just running from shell. I also connect remotly to the Pi and have it connected to a TV/Monitor via the HDMI port.
What I want to learn how to do is with in the Perl script, create a full screen X session on the HDMI port that I can plot points on to.
Could any one give me the basic out line of a perl script that would create the X session, and plot 3 or 4 points randomly on the screen that I can then adapt to my needs. I don't really know any thing about X sessions and how to control them, I don't need any thing fancy, just create a 2D canvass I can plot points to, at the moment the star field has about 2000 separate points that I want to plot at different brightness. Calculate the new positions and then refresh the screen.
Once I get the basic output I want to introduce Gravity and more Binary systems to the mix along with a few shooting stars stuff. Before getting hold of a pic laser projector and seeing what effect I can get in a dark room on a wall.
This kind of thing but with a bit more variation. If I can get the fundamental system working I would like to simulate real systems as well as just random fields that the user can chose via a simple on screen menu.
I am sure at some stage perl might not be the language to use but for now just want to see what kind of performance the Pi can deliver how may stars/objects can it compute and plot at a reasonable frame rate.