hping wiki



Salvatore Sanfilippo 14Oct2004: This page contains code I wrote in order to perform pure-Tcl GIF LZW encoding. Note that it can be useful in order to create security-related cgi scripts with hping3, but the application that I wrote in order to test this library is a bit more in the fun side: mandelbrot sets.

You can find at the end of this page the two files gif.tcl and mandel.tcl. Download both and run mandel.tcl to generate a mandelbrot set as a GIF image. The example should be very simple to follow in order to learn how to use the API exported by the GIF API. Note that this is just the first version of the GIF library, in the future I want to include functions for 2D drawring and text in order to have something like a pure-Tcl GD Lib.

An example of mandelbrot image generated with this scripts:

p.s. after some fun I implemented the mandelbrot stuff in C with a Tcl CGI interface in order to play with it via web. You can find it at Mandelbrot Fractals CGI.
 
Attached files
mandel.tcl.secext5468 bytesTue Jan 26 13:16:21 GMT 2010remove file
mandel.gif24234 bytesTue Jan 26 13:16:21 GMT 2010remove file
gif.tcl.secext12171 bytesTue Jan 26 13:16:21 GMT 2010remove file
Edit this page Upload file Page history - Page last update: Fri Oct 15 15:17:49 GMT 2004 by 82.49.49.123 | Your address: 54.167.156.247 | Admin