I had planned to make my own "operating system" like Windows 3.11, complete with applications, but game programming soon stole my heart. It ran in good ol' mode 13h, which was 320x200 with 256 colors, and used no external graphics libraries (all of the core graphics routines were hand-coded in assembly). Next time, I plan to put in a "kill everyone else" button.īack when the 486 was popular (or at least was the only kind of computer that my high school could afford), I wrote myself a simple graphical window manager in Pascal. I included a handful of multiplayer modes, such as standard deathmatch, a "collect as many items as possible" mode, and something called "marked man," where the goal was to be the marked man at the end of the round (you had to kill the previous marked man first).Īs with most of my own games, I quickly found that other people are much better than me. Character models and maps come from Quake 2 and 3 respectively, though the weapons and items are designed by yours truly. The game is written in C#, and uses OpenGL for 3-D rendering. What coding website would be complete without a simulation of the Game of Life? This simple game has delighted children and struck fear in the hearts of introductory programming students for nearly two generations!īe the first of your friends to experience the magic a glider or scratch your head trying to figure out what on Earth this is! Barring that, see if you can crash the javascript engine in your browser with my inefficient PHP code.įor my final project in an undergraduate game programming class, I wrote a 3-D multiplayer first-person shooter. This code lets you compute the "Lutz Complexity" of a graph, which could be used in a genetic algorithm to find the "best", or least complex, way of putting nodes into modules based purely on their dependencies Have you always wanted to use the Minimum Description Length principle as a fitness function in order to find the least complex hierarchical modular decomposition for a Boost Graph Library graph of dependencies in C++? There are a handful of options to try, such as changing the center of the circle, scaling the inverted image, and tiling the plane with the input image. If you'd like to play around with the image inversion program, you can download the C# code. The images below were generated with a simple program I created to perform inversion of images in a circle. I wrote a short paper about geometric inversion in a circle for Douglas Hofstadter's class on Insight and Invention in Geometry. To run the programs, you will need the Python Image Library and PyOpenGL. You may also be interested in downloading the Python code. Make sure to wait until they are fully loaded before trying to see the hidden shape (they will look like TV static when loaded). You can view several of my stereogram movies below, which use simple OpenGL shapes. Amazingly, human beings are also able to see stereogram animations! After seeing the ASCII Stereogram Movie Generator, I decided to make my own generator using the OpenGL depth buffer. If the midline position of the imaging is not good, you can try to choose the second Create-Mode.Most people are familiar with single image autostereograms (MagicEye pictures). A pattern with a transition edge will form a better imaging effect.ĥ. If the texture height more than 1080 pixels, it will be adjusted to 1080 pixels in creating.Ĥ. The height of texture determines the fine of image and the size of stereogram, also determines the creating time. You should select the texture its content is complex and rich color changes, the random-dot texture generated by software can guarantee good imaging effect.ģ. When you create a stereogram contains large amounts of text, you should try to reduce "Depth Range" and "Image distance",there should not contain too many characters in the frame width of watching, otherwise it will lead to reading difficulties.Ģ. Observe its reflection in screen, Search its reflection around.Īfter a while you should be able to see the three-dimensional image.ġ. Take the screen brightness down, place a finger or pen in front of the screen. >Pay attention, at first glance, you just can't see anything in stereogram, needs reading intently, through a special viewing method, it immediately become into a three-dimensional window that you have put into a various kinds of goods, try it,:)Ī practical method for watching stereogram: >The contents you most wanted somebody to see, can be turned into a magical stereogram by Autostereogram-Maker, and can be saved in your album or send to somebody. >What the most wanted to say are hidden in the stereogram only you two can read, for a big surprise. >Special day, sending the most special blessing to the most special person.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |