Talk:Smoking clover

From WikiProjectMed
Jump to navigation Jump to search

Due to the old age of this display hack, finding direct references that don't repeat the two paragraphs in the Jargon File is difficult.

Surely someone has a picture of this, or can fake one? I'd love to see! Rissa 01:20, 28 October 2006 (UTC)[reply]
The only picture or example I could find anywhere is here. The picture's kinda cool, but there's not much explaining how it was done. Does anyone know more about this? I want to create this effect in ActionScript 3, but based on the info online I can't really tell exactly how it works. Are the convergent lines stationary or do they rotate? Are there only two perpendicular ones, or is the number and position of the lines variable? I kinda understand "rotate the color map," but I just think it'd be so much easier to recreate this effect if I could actually see a working example. How do you increment the hue of a RGB color like #D4D0C8 or something? I wonder what it'd look like if you did XOR on the color code or something... Peaceoutside 23:10, 17 October 2007 (UTC)[reply]
Update. I found a C-based version of the smoking clover! Big problem for me though, I can't compile it since all I have access to right now is Windows Vista! I spent like 3 or 4 hours trying to get it to work. If anyone can compile a windows executable from that source code and send it to me I'd be supremely pleased! Contact me - peaceoutnumbered -AT- gmail Peaceoutside 05:17, 18 October 2007 (UTC)[reply]


I don't know if anyone is still watching this page, but I've downloaded and built the above-linked code. Assuming you have the GTK development libraries installed, "all" you need to do is edit the Makefile so it references pkg-config instead of gtk-config; the first two lines change to: CFLAGS = -g -Wall `pkg-config gtk+-2.0 --cflags` LIBS = `pkg-config --libs gtk+-2.0`

The effect is not as spectacular as sold, but it is kind of pretty. I've now uploaded a static screenshot. An animated .GIF looked ugly at any reasonable image and filesize. SFWarlock (talk) 16:20, 16 September 2009 (UTC) 10:07, 16 September 2009 (UTC)[reply]

Compiling this has aged out a little further in 2017, so to compile on Linux (with warnings that may soon become errors), add -lm to the end of the LIBS line --scruss (talk) 14:13, 9 May 2017 (UTC)[reply]

Youtube: [[1]] - 24.6.230.139 (talk) 19:39, 18 September 2009 (UTC)[reply]

I tried to recreate the effect. (And I like what I got). Jargon file says (http://www.catb.org/jargon/html/S/smoking-clover.html) "The lines all have one endpoint in the middle of the screen; the other endpoints are spaced one pixel apart around the perimeter of a large square" Indeed it doesn't seem to be true. Other end of line actually moves in a big circle around center of screen (out of screen). With square, all you get it colorful squares - no clover. This code http://freecode.com/projects/xtrascreenhacks/releases/330021 apparently uses some numerical hack to get integer circle. — Preceding unsigned comment added by 212.92.128.7 (talk) 08:34, 25 October 2013 (UTC)[reply]