Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions about texture mapping, particularly using the Texture function.
5
votes
How to texturize a Disk/Circle/Rectangle?
Mathematica 10 introduced Regions which make this kind of operation much easier.
img = Rasterize@
DensityPlot[Sin@x Sin@y, {x, -4, 4}, {y, -3, 3},
ColorFunction -> "BlueGreenYellow", Frame -> …
10
votes
Accepted
Apply an image as a texture to text
ImageAdd is your friend:
image = Import["http://creativity103.com/collections/Graphic/rainbowbars.jpg"];
text = HoldForm @ Sum[x^2, {x, 0, 10}];
img2 = Image @ Rasterize @ Style[text, 100, Bold];
r …
9
votes
can't blend gradient colors with a stream
The color is not quite right but the idea seems to work. Edit: much closer now.
dp = DensityPlot[(x^2 + y^2) Exp[1 - x^2 - y^2], {x, -3, 3}, {y, -3, 3},
ColorFunction -> "Rainbow", PlotPoints -> …
9
votes
Accepted
Degradation of image when used as texture in 3D graphics
m_goldberg's solution jogged my memory and the problem is even a pitfall:
Use Rasterize[..., "Image"] to avoid double rasterization
Note that Rasterize[Grapphics[. . .]] is not an Image:
gr2d = G …