41,159 reputation
560167
bio website
location
age
visits member for 2 years, 5 months
seen 5 hours ago

Aug
26
comment Listlineplot starting from 0
Related, possibly duplicate?
Aug
26
reviewed Leave Open Citation of the algorithms used in FindGraphCommunities
Aug
26
reviewed Close implement the ZOH in mathematica
Aug
25
comment Unusual Slow Down with LocatorPane/DynamicModule
Please focus on just one question, and try to strip your code down to a minimal example which demonstrates the problem and include the code.
Aug
25
comment Counting the zeros in a factorial expansion
This question appears to be off-topic because it is about programming in C++
Aug
25
answered Find patterns in a list
Aug
21
comment Export Grayscale Bitmap
@AlexeyPopkov, yes that is my understanding.
Aug
21
answered Export Grayscale Bitmap
Aug
20
comment Gradient Filter Function
You can view the definition of GradientFilter and the functions it depends on using Spelunk
Aug
20
answered Algebraic expressions on pure functions
Aug
19
comment Problem with hole filling using filledCurveToPolygons3D in MMA 10
The InPolygonQ function has moved in version 10 to Graphics`PolygonUtils`InPolygonQ. With that change it should work properly.
Aug
18
comment Simple string pattern crashes kernel
No problem with version 10 on Windows 7
Aug
17
comment How to modify the elements of a list in a loop?
I think the OP wants to apply each transformation in turn to each point, i.e. points.Transpose[t2.rx.t1]. It's hard to tell though, when the only thing we have to go on is some code which does something else entirely.
Aug
15
comment Determining the total illumination of a polygon
The rendering happens when the front end displays the graphics, so I don't think there is any way to obtain the illumination from the kernel. You could Rasterize the graphics and read a pixel value from the result but this will get tricky if there is more than one polygon.
Aug
15
comment Convert spectral distribution to RGB color
@MichaelE2, I enjoy a bit of spelunking, but it does frustrate me sometimes that gems like CIE color matching functions are built in but not made easily available.
Aug
15
comment Convert spectral distribution to RGB color
Nice! I wasn't too far wrong then, just got the normalisation wrong (as I suspected). It seems that the built-in "BlackBodySpectrum" is not quite right.
Aug
15
answered Convert spectral distribution to RGB color
Aug
15
awarded  Necromancer
Aug
14
comment How to make a stereogram in Mathematica? (2)
In fact my original code was broken (though I'm not sure exactly what was wrong). The new version is similar in spirit to what you have here - copying pixels in a loop rather than attempting to do it all in one go with Part.
Aug
14
comment How to make a stereogram in Mathematica? (2)
The shift needs to be a relative shift between a part of the image and its corresponding part in the tile to the left. So each vertical strip forms the "baseline" image to which shifts are applied for the next strip. That's why the Accumulate was there. In your code here you are shifting each pixel relative to the background, so for every "hill" in the 3D profile you will get a matching "hole" one tile to the right.