Format fix 2005/vince/README.md
... and this completes the year 2005 for format fixes in README.md files!
This commit is contained in:
1 parent
979706129b
commit
2ecbea8650
1 file changed
+31
-26
+31
-26
@@ -1,10 +1,9 @@
|
|||||||
# Most beauteous visuals
|
# Most beauteous visuals
|
||||||
|
|
||||||
Vincent Weaver
|
Vincent Weaver
|
||||||
Ithaca, NY
|
US
|
||||||
US
|
<vince@deater.net>
|
||||||
vince@deater.net
|
<http://www.deater.net/weave/>
|
||||||
<http://www.deater.net/weave/>
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
@@ -21,7 +20,8 @@ make
|
|||||||
./vince
|
./vince
|
||||||
```
|
```
|
||||||
|
|
||||||
Under MacOSX run from within an xterm while the X11 server is running.
|
Under macOS run from within an console tab (whether xterm, the default or
|
||||||
|
another) while the X11 server is running.
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
@@ -31,8 +31,8 @@ echo "Do or do not. There is no try."
|
|||||||
|
|
||||||
### Alternate code:
|
### Alternate code:
|
||||||
|
|
||||||
The `vince.alt.c` code of the submission will run on SGI Irix and
|
The [vince.alt.c](vince.alt.c) code of the submission will run on SGI IRIX and
|
||||||
also has the recursive CPP macro (which snuck in accidentally) removed.
|
also has the recursive CPP macro (which sneaked in accidentally) removed.
|
||||||
|
|
||||||
To compile this alternate version:
|
To compile this alternate version:
|
||||||
|
|
||||||
@@ -44,9 +44,12 @@ Use `vince.alt` as you would `vince` above.
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This beauteous entry makes use of visual {}'s and whitespace to instruct
|
This beauteous entry makes use of visual `{}`s and whitespace to instruct the
|
||||||
the OpenGL development libraries to create beauteous visuals. Even
|
[OpenGL](https://www.opengl.org) development libraries to create beauteous
|
||||||
hitting the space bar while the program runs produces a "spacey" effect! :-)
|
visuals. Even hitting the space bar while the program runs produces a "spacey"
|
||||||
|
effect! :-)
|
||||||
|
|
||||||
|
NOTE: when hitting space bar make sure that the program window is in focus!
|
||||||
|
|
||||||
Challenge: Try modifying the texture to something of your own design.
|
Challenge: Try modifying the texture to something of your own design.
|
||||||
|
|
||||||
@@ -54,23 +57,23 @@ Challenge: Try modifying the texture to something of your own design.
|
|||||||
|
|
||||||
### ABUSE OF RULES
|
### ABUSE OF RULES
|
||||||
|
|
||||||
* The executable needs to read in its own source code in order to run. As
|
* The executable needs to read in its own source code in order to run. As
|
||||||
long as the source is in the same directory as the executable it should be
|
long as the source is in the same directory as the executable it should be
|
||||||
able to find it...
|
able to find it...
|
||||||
|
|
||||||
* The program requires the OpenGL library.
|
* The program requires the OpenGL library.
|
||||||
|
|
||||||
* The program abuses severely the whitespace and { } ; exceptions in the
|
* The program abuses severely the whitespace and `{ } ;` exceptions in the
|
||||||
filesize limits.
|
file size limits.
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
* OpenGL. It works (slowly) with Mesa.
|
* OpenGL. It works (slowly) with Mesa.
|
||||||
|
|
||||||
* 16bpp graphics capability (but might work at other depths)
|
* 16bpp graphics capability (but might work at other depths)
|
||||||
|
|
||||||
* The original source needs to be in the same directory as the executable,
|
* The original source needs to be in the same directory as the executable,
|
||||||
and the source's name should be the same as the executable but with .c on the
|
and the source's name should be the same as the executable but with `.c` on the
|
||||||
end.
|
end.
|
||||||
|
|
||||||
### Background
|
### Background
|
||||||
@@ -86,7 +89,7 @@ rendering.
|
|||||||
### Obfuscation
|
### Obfuscation
|
||||||
|
|
||||||
It was a challenge getting the source code below the 2k limit. OpenGL has way
|
It was a challenge getting the source code below the 2k limit. OpenGL has way
|
||||||
too many GRATUITOUSLY_LONG_CONSTANTS and glLongStudlyFunctionNames();
|
too many '`GRATUITOUSLY_LONG_CONSTANTS`' and '`glLongStudlyFunctionNames();`'.
|
||||||
|
|
||||||
Therefore, much of the obfuscation comes secondary to just reducing the code
|
Therefore, much of the obfuscation comes secondary to just reducing the code
|
||||||
size to fit under the limit while still having some semblance of a demo.
|
size to fit under the limit while still having some semblance of a demo.
|
||||||
@@ -95,7 +98,7 @@ There are some interesting abuses scattered about.
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
Try hitting the spacebar when the program is running.
|
Try hitting the space bar when the program is running.
|
||||||
|
|
||||||
### For Fun
|
### For Fun
|
||||||
|
|
||||||
@@ -107,11 +110,13 @@ Many thanks to John Clemens for testing this on various machines for me.
|
|||||||
|
|
||||||
### Errors you can get
|
### Errors you can get
|
||||||
|
|
||||||
0 = no error
|
- 0 = no error.
|
||||||
1 = X problem
|
- 1 =
|
||||||
2 = Can't open glx
|
[X](https://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture)
|
||||||
3 = Can't open 16bpp visual
|
problem.
|
||||||
4 = can't open source file
|
- 2 = Can't open [glx](https://en.wikipedia.org/wiki/GLX).
|
||||||
|
- 3 = Can't open 16bpp visual.
|
||||||
|
- 4 = can't open source file.
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user