3-beta-HSD: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Trappist the monk
Clinical significance: I just tried to improve how well it would 'link' to existing pages.
 
Line 1: Line 1:
== Summary ==
Hello, my title is Andrew and my  clairvoyants ([http://Medialab.Zendesk.com/entries/54181460-Will-You-Often-End-Up-Bored-Try-One-Of-These-Hobby-Ideas- medialab.zendesk.com]) spouse doesn't like it at all. I am presently a travel agent. North Carolina is the place he loves most but now he is contemplating other choices. The favorite hobby for him and his kids is to perform lacross and he'll be beginning something else along with it.<br><br>My web blog; free [http://netwk.hannam.ac.kr/xe/data_2/85669 clairvoyant psychic] reading ([http://clothingcarearchworth.com/index.php?document_srl=441551&mid=customer_review clothingcarearchworth.com])
To see the illusion, do this:
Play the movie (which lasts 1 minute) full screen and stare to the center of the image.
After the movie finishes, look away (for example look to a face or to your hands). For few seconds everything you see will appear to distort.
 
The original idea is not mine, I have seen on the net, BUT this animation file was created by me with this C program:
 
<pre>
//License: Public Domain
//Written by Nasca Octavian PAUL, Tg. Mures, Romania
//in 20060901
/*
Steps to obtain the illusion image:
 
1) Compile this program and run it
 
2) Convert the .pgm images to .png images with the bash script:
>>>>>cut<<<<<
for file in *.pgm
do
    echo $file
    pnmtopng $file > "$file.png"
    rm -f $file
done
>>>>>cut<<<<<
 
3) Convert png images to "output.avi"
mencoder "mf://*.png" -mf fps=20:type=png -ovc lavc -oac copy -o output.avi
 
4) Convert "output.avi" to ogg theora with:
ffmpeg2theora output.avi
 
5) Run the animation (full screen) and look and stare in the center of it
After 1 minute, look away and you'll see a very interesting illusion (looks like objects/faces/etc changes their shapes) which last few seconds.
*/
 
#include <stdio.h>
#include <math.h>
 
static const int sizex=640;
static const int sizey=480;
static const float freq=80;
 
static unsigned char data[sizex*sizey];
 
static unsigned char f(float x,float y,float phase){
    x=fabs(x);
    y=fabs(y);
    float m=sin(phase+(x+y)*freq)*127.0+128;
    return (m);
}
 
static void make_frame(float t){
    for (int j=0;j<sizey;j++){
for (int i=0;i<sizex;i++){
    float x=(i*2-sizex)/(float)sizex;
    float y=(j*2-sizey)/(float)sizey;
    float y2=y/sizex*sizey;
    if ((x*x+y2*y2)<0.1) data[i+j*sizex]=f(x,y,t);
else data[i+j*sizex]=f(x,y,-t);
}
    }
}
 
static void save_frame(char *filename) {
    FILE *f=fopen(filename,"wb");
    if (!f) return;
    fprintf(f,"P5\n%d %d\n255\n\n",sizex,sizey);
    fwrite(data,sizex,sizey,f);
    fclose(f);
}
 
int main(void) {
    char tmp[100];tmp[99]=0;
    for (int k=0;k<1200;k++){
        make_frame(k*0.5);
snprintf(tmp,99,"frame%05d.pgm",k);
printf("%s\n",tmp);
 
save_frame(tmp);
    }
    return 0;
}
</pre>
 
== Licensing ==
{{PD-self|date=December 2006}}
 
{{Copy to Wikimedia Commons|bot=Fbot|priority=true|date=March 2012}}

Latest revision as of 19:56, 9 April 2014

Hello, my title is Andrew and my clairvoyants (medialab.zendesk.com) spouse doesn't like it at all. I am presently a travel agent. North Carolina is the place he loves most but now he is contemplating other choices. The favorite hobby for him and his kids is to perform lacross and he'll be beginning something else along with it.

My web blog; free clairvoyant psychic reading (clothingcarearchworth.com)