16,255 reputation
23294
bio website
location somewhere in England
age
visits member for 2 years, 9 months
seen 5 hours ago

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]

Jun
27
comment How do you export the result of a RevolutionPlot3D to STL for printing?
Good one, Vitaliy! Notice that STL files don't have dimensions or units, so at one point in the submission process for many 3D printer services you have to specify what that -1.0 to 1.0 size signifies - meters, inches, or millimeters, for example. If you know in advance what you can specify, you can scale the graphic suitably.
Jun
27
comment Exporting a sequence of graphs as video efficiently
I've found some advantages to the ffmpeg method: you can fix errors/regenerate single frames, there's more control over output formats, if you get a powercut or a crash you can start again from where you left off, you can more easily monitor progress, and so on. But video is so processor-intensive anyway; just fire it up and go for lunch! (Some individual frames for Toy Story took 30 hours to render...)
Jun
27
comment Why does saved graphic not look the same as graphic in notebook?
For me, Save Selection As... (on cell bracket) saves a rotated image, as does Export. Only Save Graphic As... saves the image without the rotation.
Jun
26
awarded  Enlightened
Jun
26
awarded  Nice Answer
Jun
26
comment Changing “Block[]” to a Manipulation
Re: greek; also see this
Jun
26
comment Export file with semicolon at the end of line
@strpeter you should have said ...:)
Jun
26
revised Export file with semicolon at the end of line
omit brackets
Jun
26
answered Export file with semicolon at the end of line
Jun
26
awarded  Nice Question
Jun
26
comment I'm definitely giving an integer, but I get Nest::intnm
perhaps you want Dynamic[Plot[... rather than Plot[..Dynamic[its]]?
Jun
26
comment Color scheme used by Colorize?
@anon well, yes, but where's the fun :)
Jun
26
comment Color scheme used by Colorize?
@stefan yes you've lifted up a rock and looked at the strange things crawling around underneath! :)
Jun
26
comment How manipulate rasterized Graphics3D objects combined with non-rasterized objects
@GaryPalmer Ah, slider is Symbol until the Manipulate expression changes, but with that semicolon after it it doesn't evaluate immediately?
Jun
26
comment Color scheme used by Colorize?
@stefan it's all your fault :)
Jun
26
revised Color scheme used by Colorize?
added one application of answer
Jun
25
revised How can I visualize 6 square matrices as a cube?
kuba shamed me into doing it more correctly...
Jun
25
revised Color scheme used by Colorize?
typo in part 2
Jun
25
comment Color scheme used by Colorize?
More complicated than I thought! Thanks, will experiment... (+1)
Jun
25
comment How manipulate rasterized Graphics3D objects combined with non-rasterized objects
slider has head Graphics but stationaryObj has head Graphics3D, so you can't combine them with Show.