If I type == moon texture map into Mathematica it sends a query to Wolfram Alpha and gives me the following output:

enter image description here

A 3D sphere with a moon surface texture is exactly what I was hoping for, but how can I get the code that was used to produce the moon textured sphere so that I can use it in my own code? Any help would be appreciated, thanks!

  • 1
    $\begingroup$ img = WolframAlpha[ "moon surface map", {{"SurfaceMap:PlanetaryMoonData", 2}, "Content"}] $\endgroup$
    – Bob Hanlon
    Aug 7, 2015 at 17:41
  • 3
    $\begingroup$ You can also get the same 3D graphic from PlanetaryMoonData["Moon", "TexturedSurface"] without invoking WolframAlpha. Evaluate PlanetaryMoonData["Moon", "Properties"] for a list of other properties that you can obtain through that command. $\endgroup$
    – MarcoB
    Aug 7, 2015 at 20:21
  • $\begingroup$ @MarcoB, that's a very nice way of doing it. Do you know if this can be combined with a ParametricPlot3D command? $\endgroup$
    – indigoblue
    Aug 7, 2015 at 21:51
  • $\begingroup$ I'm not sure that I understand your question: what would be the parameter(s)? $\endgroup$
    – MarcoB
    Aug 7, 2015 at 22:09
  • 2
    $\begingroup$ You might want to take a look at the docs for Texture[]; there's a very relevant example there. You should be able to do something similar with the image you obtained from Alpha. $\endgroup$ Aug 7, 2015 at 22:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.