File:Still life in Mathematica.png
Still_life_in_Mathematica.png (360 × 382 pixels, file size: 54 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionStill life in Mathematica.png |
English: An example of 3D graphics created with a short script written in Wolfram Language and rendered using Mathematica. Čeština: Příklad 3D grafiky vytvořené krátkým skriptem napsaným ve Wolfram Language a renderované v Mathematice. |
Date | |
Source | Own work |
Author | JozumBjada |
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Source code
[edit]This image was created using Wolfram language 13.1.0 for Linux x86 (64-bit) (June 16, 2022). The source code follows.
lights = {DirectionalLight[Yellow, {{0,-1,0}, {0,0,0}}], PointLight[Yellow, {-1.2,.2,.2}, {0,0,5}]};
wood = ImageMultiply[ExampleData[{"Texture", "Bark"}], Brown];
table = {MaterialShading[<|"BaseColor" -> Texture[wood]|>], Cuboid[-1/2{1,1,.1}, 1/2{1,1,.1}]};
leg = Translate[Scale[table, {.2,.2,10}], {.2,-.2,-.5}];
cloth = {MaterialShading[{"Satin",Red}], Polygon[1/2{{.8,1,.11}, {-1,1,.11}, {-1,-1,.11}, {.3,-1,.11}}]};
drapery = Plot3D[.01 Sin[6\[Pi] x] Log[1+5 y], {x,0,1}, {y,0,1}, PlotStyle->MaterialShading[{"Satin",Red}], Mesh->None, Lighting->lights];
drapery = First@Cases[InputForm[drapery], _GraphicsComplex, Infinity, 1];
drapery = Rotate[Translate[drapery, {-.5,-.5,0}], -\[Pi]/2, {1,0,0}, {-.5,-.5,0}];
drapery = Translate[Scale[drapery, {.65,1,1}, {-.5,-.5,0}], {0,-.01,.06}];
vasefun = Interpolation[BSplineFunction[{{0,.5}, {1,1.5}, {2,.1}, {2.3,.1}, {3,.7}}] /@ Range[0, 1, .1]];
vase = RevolutionPlot3D[vasefun[x], {x,0,3}, RevolutionAxis->{1,0,0}, PlotStyle->{Thickness[.2], MaterialShading["Gold"]}, Mesh->False, Lighting->lights];
vase = First@Cases[InputForm[vase], _GraphicsComplex, Infinity, 1];
vase = Translate[Rotate[Scale[vase, .2, {0,0,0}], -\[Pi]/2, {0,1,0}], {.1,.1,.06}];
gr = Graphics3D[{EdgeForm[], table, leg, drapery, cloth, vase}, Lighting->lights, Boxed->False];
gr = Graphics[{RadialGradientFilling[{Darker@Orange, Black}, ImageScaled[{.5,.7}]], Rectangle[-{1,1}, {1,1}], Inset[gr, {0,0}, ImageScaled[{.5,.5}], 2.1]}, PlotRange->{{-.8,.8}, {-.7,1}}]
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:19, 10 October 2022 | 360 × 382 (54 KB) | JozumBjada (talk | contribs) | Uploaded while editing "Wikipedista:JozumBjada/Pískoviště 4" on cs.wikipedia.org |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on cs.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Horizontal resolution | 39.37 dpc |
---|---|
Vertical resolution | 39.37 dpc |