Skip to main content
82 votes
Accepted

How to make a Spherical Cow?

...
andre314's user avatar
  • 18.9k
35 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
  • 399k
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
  • 15.2k
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
  • 36.4k
17 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
  • 236k
16 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
  • 49.3k
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
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.5k
12 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
  • 79.4k
11 votes

Create a 3D stack of 2D line plots

You can also use ParametricPlot3D: ...
yohbs's user avatar
  • 7,076
11 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
  • 8,004
11 votes
Accepted

Creating a smooth 3D solid from 3D point cloud

...
flinty's user avatar
  • 25.6k
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
  • 85.2k
9 votes
Accepted

Coding a triangle of balls

...
chyanog's user avatar
  • 15.7k
9 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
  • 79.4k
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,640
8 votes

How to make a Spherical Cow?

Here's a simple way of making the blow-up cow: ...
bill s's user avatar
  • 69.5k
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
  • 79.4k
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
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
  • 27k
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
  • 36.4k
7 votes

Coding a triangle of balls

Something to start you out: ...
J. M.'s missing motivation'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
  • 79.4k
7 votes

How to obtain a 3D matrix from Graphics3D?

You can apply FillingTransform directly to the Image3D produced using RegionImage to fill ...
George Varnavides's user avatar
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

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

Eliminate the black color of the "W" so that it is equal to the "S" using Mathematica?

As a not too elaborated solution, it seems that a morphological image processing can be done: ...
José Antonio Díaz Navas's user avatar
6 votes
Accepted

3D Thinning algorithm in Mathematica

One approach is to apply a topology preserving morphological thinning method. I'll implement an algorithm by Lee. The main idea is to look at every 3x3x3 cube in the image and to decide which pixels ...
Greg Hurst's user avatar
  • 36.4k
6 votes
Accepted

How to make an imported 3D Image look like X-Ray?

We can use the builtin ColorFunction -> "XRay": Image3D[data3D, ColorFunction -> "XRay", Background -> Black] We can ...
Greg Hurst's user avatar
  • 36.4k
6 votes

3D Plot Grid-Lines

Using FaceGrids ...
Bob Hanlon's user avatar
  • 161k

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