Commit Graph

9 Commits

Author SHA1 Message Date
Charles Mangin
7a28946b26 Merge branch 'master' into pr/4
Conflicts:
	DSK Image/BLANK-PRODOS.dsk.png
	DSK Image/DSK-Image.py
2016-10-04 15:21:44 -04:00
Hector Martin
5963f88448 Update BLANK-PRODOS.dsk.png with the new code 2015-09-01 17:16:31 +09:00
Hector Martin
495d4ed903 Fix the pixel mapping and improve image processing
The indexing of the byte array was wrong, which is why the images
produced had that funky spiral shape (which wasn't real). The polar
mapping was also incorrect (the tracks were mapped to cylinders and vice
versa).

Besides correcting these issues, improve the output by:
- Point scaling the source vertically by 3x to produce better-defined
  tracks
- Overlaying a "venetian blinds" pattern to add gaps between tracks
- Resizing horizontally to 3072 pixels to reduce aliasing
- 2x oversampling on the polar conversion again to reduce aliasing
2015-09-01 17:06:51 +09:00
Charles Mangin
0cc11c31ce merged with xandark 2015-08-16 07:48:52 -04:00
Michael Devendra
f6bfab3c74 Added compatibility with Linux and Windows in addition to OSX.
Added ability for Linux and Windows to run this script. Now everyone can use this!
Added friendly and instructive error message for when pypng is not installed.
Fixed bugs that prevented the proper printing output.
Fixed the try/except/finally's to be try/except's.
Fixed inconsistent space and tab indentation which will fail with Python 3.
Fixed sys.exit(0) to exit with code of 1, which indicates an error to the shell.
Added the shebang to the first line so that the script can be run on its own.
Fixed the ImageMagick command line to be more compatible running under Windows shell.
2015-08-14 00:25:12 -07:00
Charles Mangin
5bebbcfbc6 added subprocess calls
more error checking, changed sys to subprocess
2015-08-13 12:57:46 -04:00
Charles Mangin
c0f6bbea83 updated readme
includes links to required libraries.
2015-07-29 08:38:59 -04:00
Charles Mangin
f0a4c085a5 Create readme.md 2015-07-27 00:11:25 -04:00
Charles Mangin
7f63e850a1 KansasFest 2015 mass update
revisions or new products announced at KansasFest 2015
(http://kansasfest.org)
2015-07-26 23:49:26 -04:00