From: Symion <kn...@ip...> - 2010-03-19 07:54:06
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> Here is my first attempt to produce a way of printing messages into Vpython scene.<br> Transparent text is much faster and consumes fewer points.<br> I have connected the size of the printable window to scene.range.<br> self.range = 21<br> scene.range = self.range<br> # Pagesize in characters and lines<br> pagesize = self.range * 2 - 2 # 40 x 40<br> <br> Inverse text and colored text have been implemented but no cursor or editing. (yet)<br> I have included a 3D animation in the foreground to give an idea of what I am trying to achieve.<br> <br> Source Code: <a href="http://home.iprimus.com.au/knoware/webpage/Transparent.py">Transparent.py</a><br> <br> </body> </html> |