Live data from Hacker News

Show HN: Old School Graphics Algorithms

partow.net

1–10 of 19 posts

Re: Show HN: Old School Graphics Algorithms

#2
Lovely :) The examples remind me of the short programs for the ZX Spectrum published in magazines like Microhobby, which would create visually interesting images using PLOT, DRAW, and a couple of loops. Come to think about it, that might have been my first contact with Computer Graphics :)

Re: Show HN: Old School Graphics Algorithms

#6
post #5

Going to have a good time implementing a few of these myself. Any other references/resources for neat graphics algorithms on the more compact side?

Look for the original Graphics Gems I and II books (circa 1991)

https://www.glassner.com/portfolio/graphics-gems/

Re: Show HN: Old School Graphics Algorithms

#7
post #5

Going to have a good time implementing a few of these myself. Any other references/resources for neat graphics algorithms on the more compact side?

Look for the original Graphics Gems I and II books (circa 1991) https://www.glassner.com/portfolio/graphics-gems/

Exactly what I was looking for you, thank you:)

Re: Show HN: Old School Graphics Algorithms

#8

Lovely :) The examples remind me of the short programs for the ZX Spectrum published in magazines like Microhobby, which would create visually interesting images using PLOT, DRAW, and a couple of loops. Come to think about it, that might have been my first contact with Computer Graphics :)

My first introduction to graphics was definitely the type-in-program listed in the back of the (orange) manual I received with my 48k ZX Spectrum. It drew a UK-flag.

Here's the source, which gives me a moment of nostalgia:

http://boriel.com/wiki/en/index.php/ZX_BASIC:Flag.bas

I wrote a simple BASIC interpreter recently, in golang, and hacked in support for outputing PNG images of code. I should see if I can get that sample to run (mostly) unchanged!

Re: Show HN: Old School Graphics Algorithms

#9
post #4

(This looks great but please don't put Show HN on reading material or tutorials. See https://news.ycombinator.com/showhn.html for the rules.)

...but it's his library? The tutorials on the page are just examples for the library, which is linked at the top of the page?

Or rather: How would he present a "Show HN" topic about this specific library? This is the library's actual page, as I understand?

Re: Show HN: Old School Graphics Algorithms

#10

Lovely :) The examples remind me of the short programs for the ZX Spectrum published in magazines like Microhobby, which would create visually interesting images using PLOT, DRAW, and a couple of loops. Come to think about it, that might have been my first contact with Computer Graphics :)

My first introduction to graphics was definitely the type-in-program listed in the back of the (orange) manual I received with my 48k ZX Spectrum. It drew a UK-flag. Here's the source, which gives me a moment of nostalgia: http://boriel.com/wiki/en/index.php/ZX_BASIC:Flag.bas I wrote a simple BASIC interpreter recently, in golang, and hacked in support for outputing PNG images of code. I should see if I can get that…

Nice! Some time ago I worked on a ZX BASIC interpreter in Javascript, so it could run on browsers. My idea was that kids these days™ don't have an environment as easily available and immediately gratifying as we did back then, so I wanted to make one!

Have you considered doing something similar with yours?

Post reply on HN