File talk:LogisticMap BifurcationDiagram.png
跳至導覽
跳至搜尋
non-zero pixels in that column
[編輯]Hi thx for grat image.
- What program you have used to creat it ?
- What means "non-zero pixel" ? On your image points of orbit are black ( color=0), but you say : "calculated for each value of r and for each x value, the corresponding (x,r) pixel in the image was incremented by one". It means that color becomes more light.
I can do almost all you tips except "even out the intensities".
Here is my C code:
for(iY=0;iY<iYmax;++iY)
for(iX=0;iX<iXmax;++iX)
color[iY][iX]=0;
/* compute */
for(iX=0;iX<iXmax;++iX)
{
x=xMin+iX*dx;
y=0.25;
for(i=0;i<imax;++i) y=x*y*(1-y);
for(i=0;i<iMax;++i)
{
y=x*y*(1-y);
iY=(int)((yMax-y)/dy);
if (x<3.57)
color[iY][iX]=255;
else if(color[iY][iX]<255)color[iY][iX]+=1; /*intensity of color is proportinal to pixel hits */
}
}
Can you tell more about "even out the intensities" ? --Adam majewski (talk) 15:45, 3 August 2008 (UTC)