Hot answers tagged

82 votes
Accepted

How to make a Spherical Cow?

...
andre314's user avatar
  • 18.2k
34 votes
Accepted

How to project 3d image in the planes xy, xz, yz?

Update 2: The function projectToWalls does not work in version 12.0 because the function PlotRange no longer works. To fix the ...
kglr's user avatar
  • 392k
31 votes

How to make a Spherical Cow?

Get cow as a mesh region: cow = ExampleData[{"Geometry3D", "Cow"}, "MeshRegion"]; Take coordinates of 0 cells: ...
halmir's user avatar
  • 15k
18 votes

3D Thinning algorithm in Mathematica

I'm currently working on a fast/scalable solution to question 18893 and it's at a place where I think I can provide an answer here. Though I will admit there's a lot of room for improvement. In this ...
Greg Hurst's user avatar
  • 35.7k
16 votes
Accepted

How can Mathematica be used to create a 3D Maze with text like this?

To produce a maze, we can simply find a spanning tree of a grid graph. IGraph/M has a function to generate random spanning trees of graphs, IGRandomSpanningTree. ...
Szabolcs's user avatar
  • 234k
15 votes

How to make a Spherical Cow?

This answer does not produce very pretty outcomes, but it does correspond to the question request: I was wondering if there is a way to apply a continuous deformation to the data to get the final ...
Anton Antonov's user avatar
15 votes

How to project 3d image in the planes xy, xz, yz?

If you only need the 2D projection images, you can just project the 3D image from the six cardinal directions: ...
Roman's user avatar
  • 46.9k
12 votes

How to make a Spherical Cow?

Great minds think alike (either that, or silly ideas rule eternal)... Something quite similar was also part of the 2012 oneliner competition. I pull all vertices through the origin to make it a bit ...
Yves Klett's user avatar
  • 15.4k
12 votes

Create a 3D stack of 2D line plots

Here's one way, using Graphics3D and starting from a list of $x,y,z$ values for datapoints. Mock data: ...
Quantum_Oli's user avatar
  • 7,904
11 votes

Create a 3D stack of 2D line plots

You can also use ParametricPlot3D: ...
yohbs's user avatar
  • 7,046
11 votes
Accepted

Creating a smooth 3D solid from 3D point cloud

...
flinty's user avatar
  • 24.7k
11 votes
Accepted

How to draw a cutaway diagram of concentric balls?

Since RegionPlot3D not so smooth and CSGRegion does not support Show,here we use another way....
cvgmt's user avatar
  • 69.2k
9 votes

How to convert Graphics3D object into an Image3D object?

You could create a region using DiscretizeGraphics and find points within a certain distance of the surface using RegionDistance ...
Simon Woods's user avatar
  • 84.8k
9 votes
Accepted

Coding a triangle of balls

...
chyanog's user avatar
  • 15.4k
8 votes

How to make a Spherical Cow?

Here's a simple way of making the blow-up cow: ...
bill s's user avatar
  • 68.8k
8 votes
Accepted

How to draw a 3D polygon like this?

Here is something to get you started, look at Cuboid ...
Jason B.'s user avatar
  • 67.9k
8 votes
Accepted

Stereogram in Mathematica: inverse question

An ugly but working solution: First we should estimate the period of the background patter: ...
Wjx's user avatar
  • 9,558
8 votes
Accepted

How to get to ComponentMeasurements[] from orthographic projection of a Graphics3D[] object?

Edit If we only need image,we can use ...
cvgmt's user avatar
  • 69.2k
8 votes
Accepted

Reverse the rotation of an animated gif and create a mirror image of it

To keep same speed for GIF import its "DisplayDurations": dur = Import["/Users/Vitaliy/Desktop/wheel.gif", "DisplayDurations"] And ...
Vitaliy Kaurov's user avatar
8 votes
Accepted

Tomographic Reconstruction of a Convex Polyhedron from its Silhouettes

We only need the data of the boundary points of the projections. ...
cvgmt's user avatar
  • 69.2k
7 votes
Accepted

How to draw a 3-dimensional sphere whose Head is Image3D?

If we are in 11.2,the RegionImage can help us to implement it RegionImage[Sphere[]] It is ...
yode's user avatar
  • 26.5k
7 votes
Accepted

3D printing cardioid

It seems your MeshRegion has degenerate Prism objects that aren't able to export. We can take the boundary instead and skip the ...
Greg Hurst's user avatar
  • 35.7k
7 votes

Coding a triangle of balls

Something to start you out: ...
J. M.'s eventual burnout's user avatar
7 votes

Create a revolved 3D image of a line

For a fixed point {x, r} ∈ Line[p], we can get a disk y^2 + z^2 <= r^2,this is the intuitive that we use to construct the ...
cvgmt's user avatar
  • 69.2k
6 votes

Convert binary voxel image to geometric region

As of version 11.0.0, the built-in function ImageMesh may be used
ilian's user avatar
  • 25.5k
6 votes
Accepted

Rendering a 3D volume with Image3D

Image3D is great, but if you want to have fine-tuned control over the opacity then you need to go to DensityPlot3D, or, in this ...
Jason B.'s user avatar
  • 67.9k
6 votes

Create a 3D face from the Shroud of Turin

Importing: img = Import["https://i.stack.imgur.com/wMZN4.jpg"]; Inverting the colors and stretching the range: ...
Sjoerd C. de Vries's user avatar
6 votes

Image3D does not give the distinctive blurry look, version 10 Linux

It looks like you can do this using the Method option in Image3D. ...
bill s's user avatar
  • 68.8k
6 votes

How do I convert imported STL files to 3D images?

I found that with Mathematica 10 one can use the region functions/distance+watershed to achieve something similar but much faster. Something along these lines can generate ~1 million voxels in a ...
franjesus's user avatar
  • 161
6 votes
Accepted

How is the sample 3D image of Knee is created?

To whom it may concern, as far as I recall, the MRI data of my knee were obtain at the TU Eindhoven more than 12 years ago. The acquisition returned the isotropic volume as is. I assume, that in the ...
Markus van Almsick's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible