15,463 reputation
22678
bio website
location somewhere in England
age
visits member for 2 years, 3 months
seen Feb 23 at 23:03

Mathematica apprentice

My gravatar was made with the following Mathematica code:

Graphics3D[{
  GrayLevel[.3], Specularity[White, 15],
  Lighting -> {{"Directional", 
     RGBColor[.3, .3, .4], {{5, 5, 10}, {5, 5, 0}}},
    {"Point", Black, {12, 3, 15}},  
    {"Point", White, {12, 3, 4}}},
  KnotData[{"TorusKnot", {2, 5}}, "ImageData"]}, 
 ViewVector -> {{0, 0, 5}, {0, 0, 0}}, Boxed -> False, 
 Background -> None, Axes -> False, ImageSize -> 1000]

Sep
10
comment How can I convert colors to grayscale?
@Mr.Wizard thanks, I'll treasure it! (You already had my (non-pity) vote...)
Sep
10
comment How can I convert colors to grayscale?
@Mr.Wizard lol, I misread the OPs answer comment, for a change - usually I don't understand the question! :)
Sep
10
revised Why doesn't my code compile?
Fixed title
Sep
10
answered How can I convert colors to grayscale?
Sep
10
comment Measuring execution time of code
Hi there! Look up "timing" in the help - should be some useful examples...
Sep
10
revised Clearing memory of a subkernel in a Do loop
fixing the backticks (again! :))
Sep
10
revised Clearing memory of a subkernel in a Do loop
formatting backticks etc
Sep
10
comment Relational joining of tables
Some interesting thoughts here about why loops aren't usually the best way to program Mathematica.
Sep
9
comment Importing a stack of images
But how else will they feel the awesome *power* of mathematica ? :)
Sep
9
comment Importing a stack of images
Take away the semicolons for beginners...:)
Sep
8
revised Separating disconnected graph objects without losing vertex coordinate assignments
Fix Title spelling while the q is on top
Sep
8
answered Failing to import an .eps file
Sep
7
comment Why I cannot use the option “MathOutput”?
@Mr.Wizard I'm on an iPad at the moment...
Sep
7
comment Is there a way to parallelize the convolution component of EdgeDetect?
You can chop images up into squares with ImagePartition and then reassemble the (processed) chunks with ImageAssemble. You might have issues with the seams, though.
Sep
7
revised How can I create jpeg images of a given file size?
Added cross-posting note
Sep
6
comment How to find the distance of two lists?
@yves "blow up in your face" is a tad more idiomatic... :)
Sep
5
revised Implementing an algorithm for finding the largest circle that contains a single point in a set (and no other point)
Title spelling
Aug
31
awarded  Good Question
Aug
26
comment Failing to import an .eps file
I think you have to pass this file through a PostScript interpreter to see the image. It looks like a JPEG image, encoded so as to fit inside an EPS file. I don't think Mathematica interprets PostScript commands?
Aug
25
comment Can someone explain this code for joining two lists by the first element of each sublist?
Every function returns a value, and Reap returns a list containing two things: the result of the expression passed to it, followed by a list containing the results of every Sow function call inside the expression. I think you're nearly there - if you're understanding Mr.Wizard's code so soon, you're winning! :)