https://github.com/mikebharris/cobol-mandelbrot-set-generator
A Mandelbrot Set generator written in COBOL using node-cobol bridge to show in web browser
https://github.com/mikebharris/cobol-mandelbrot-set-generator
Last synced: 2 months ago
JSON representation
A Mandelbrot Set generator written in COBOL using node-cobol bridge to show in web browser
- Host: GitHub
- URL: https://github.com/mikebharris/cobol-mandelbrot-set-generator
- Owner: mikebharris
- Created: 2016-02-28T23:24:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-22T05:56:49.000Z (almost 8 years ago)
- Last Synced: 2025-03-13T01:36:45.702Z (2 months ago)
- Language: COBOL
- Size: 244 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COBOL-Mandelbrot-Set-generator
A Mandelbrot Set generator written in COBOL using node-cobol bridge to show in web browser.
I am forever experimenting with different programming languages using the algorithm to generate Benoît Mandelbrot's set as an example
for me to learn. Here is a generator for the set written in COBOL with simple character output.Wrapping it up with the excellent Node.js to COBOL bridge - https://github.com/IonicaBizau/node-cobol/ - means I can output my set into
my web browser. I love the combination of the ancient (COBOL was released in 1958) with the latest contemporary code (Node.js was
released in 2009).The COBOL code was written using the excellent OpenCobol IDE - https://github.com/OpenCobolIDE/OpenCobolIDE - and you'll need GNU COBOL - https://sourceforge.net/projects/open-cobol/ - to compile and run the code.
To get it to work you'll need to install GNU COBOL, Node.js and the node-cobol bridge, then from the command line do:
`$ node mandelbrot.js`
And then visit http://localhost:8080 in your browser.
The output is very reminiscent of the original images Benoît Mandelbrot might have seen on his IBM printer back in the 1970s.