Hot answers tagged

11 votes
Accepted

Vera Molnár's interruptions - erasing graphic elements

We define the rotated lines by RotationTransform in order to keep the lines be the Region. We use ...
cvgmt's user avatar
  • 69.7k
10 votes
Accepted

Borromean rings

Perhaps something you can start with: ...
vindobona's user avatar
  • 2,686
8 votes
Accepted

Placing a disk of maximum size in a region surrounded by random points

We union the boundary of convex hull chm and random points x as a single region and use ...
cvgmt's user avatar
  • 69.7k
7 votes
Accepted

Setting up a double integral over a polar region

...
David G. Stork's user avatar
7 votes

Vera Molnár's interruptions - erasing graphic elements

Here is an example using a random walk. First we create all the lines. Then we delete lines along a random path: ...
Daniel Huber's user avatar
  • 50.4k
6 votes
Accepted

Combining 3D-text (extruded 2D-font) and a simple solid: RegionProduct produces invalid BoundaryMeshRegion

OpenCascadeLink work for such difference computation. ...
cvgmt's user avatar
  • 69.7k
6 votes

How can I build a cycled curve from three orientable Bezier curves and fill the curved region?

First we need new definition of BezierFunction because actually (Mathematica v12.2) it's not possible to define ...
Ulrich Neumann's user avatar
6 votes
Accepted

How to get finer discretization of 3D polytope?

Edit I found that "Length" -> .2 work when we use ...
cvgmt's user avatar
  • 69.7k
6 votes
Accepted

Extrude font into a prism: BoundaryDiscretizeGraphics and Line fail to produce a RegionProduct

Replace 1 to 1. Since RegionProduct is already a ...
cvgmt's user avatar
  • 69.7k
5 votes

How can I build a cycled curve from three orientable Bezier curves and fill the curved region?

Edit Does not depend on PlanarFaceList and we can distinct the boundary lines. ...
cvgmt's user avatar
  • 69.7k
5 votes

Efficiently fill an ellipse with a k-many random ellipses

We re-write the code from the document of RegionDisjoint https://reference.wolfram.com/language/ref/RegionDisjoint.html ...
cvgmt's user avatar
  • 69.7k
5 votes
Accepted

Change opacity of region defined by ParametricRegion

Region[Style[ ParametricRegion[{x, y, z}, {{x, 0, 1}, {y, 0, 1}, {z, 0, 1}}], Opacity[.2]]]
cvgmt's user avatar
  • 69.7k
5 votes

Setting up a double integral over a polar region

Method-1 f[x_, y_] := 9 - x^2 - y^2; reg = ParametricRegion[ r {Cos[t], Sin[t]}, {{t, 0, 2 π}, {r, 0, 1}}] Integrate[f[x, y], {x, y} ∈ reg] ...
cvgmt's user avatar
  • 69.7k
5 votes
Accepted

Interpreting the output of double integral over a Circle

Integrate[f[x, y], {x, y} ∈ Circle[]] 16 π is the line integrate https://en.wikipedia.org/wiki/Line_integral $$\int_{\...
cvgmt's user avatar
  • 69.7k
4 votes

Change opacity of region defined by ParametricRegion

Here as a short answer: You can wrap Style[…] around the region definition like so ...
gwr's user avatar
  • 13.4k
4 votes

Efficiently fill an ellipse with a k-many random ellipses

Using DiscretizeRegion: (as a guide) ...
Syed's user avatar
  • 49.1k
4 votes
Accepted

Efficiently fill an ellipse with a k-many random ellipses

One way to get non-overlapping ellipses is to place their centers far enough apart that they don't overlap no matter how they are oriented: use HardcorePointProcess to determine the centers, within a ...
tad's user avatar
  • 1,855
4 votes

How can I draw a random thickness curve?

Use Black and Glow[Red] instead of just Red. Also use ...
azerbajdzan's user avatar
  • 13.6k
3 votes

How can I draw a random thickness curve?

Can be done normally by filling between two curves ...
Roland F's user avatar
  • 3,293
3 votes

Vera Molnár's interruptions - erasing graphic elements

Edit And trying to reproduce some of the interruptions ... : by using: ...
vindobona's user avatar
  • 2,686
3 votes

How can I build a cycled curve from three orientable Bezier curves and fill the curved region?

BezierCurve can be draw as the piecewise function of the BezierFunction. When the Length of ...
cvgmt's user avatar
  • 69.7k
2 votes

A question regarding "DiscretizeGraphics"

Now we can set Mesh -> None, Method -> {"BoundaryOffset" -> False} Thanks @MichaelE2 https://mathematica.stackexchange.com/a/92557/72111 https://...
cvgmt's user avatar
  • 69.7k
1 vote
Accepted

Trying to surround the area produced by intersecting surfaces with a boundary line

boundary = RegionPlot3D[DiscretizeRegion @ intersection, PlotStyle -> None, BoundaryStyle -> Directive[Red, Thick]] ...
kglr's user avatar
  • 392k
1 vote

Setting up a double integral over a polar region

Thanks for the nice answers by @David G. Stork and @cvgmt Since IntegrateChangeVariables is a promising (but a recent) addition, I would like to add this workaround:...
Syed's user avatar
  • 49.1k
1 vote

Interpreting the output of double integral over a Circle

...
David G. Stork's user avatar
1 vote

Plot Two Circles and Color Their Difference

Another version of @ubpdqn, using WindingPolygon with "EvenOddRule" ...
cvgmt's user avatar
  • 69.7k
1 vote

Union of plotted regions as sum of colors

Using Region Functionality: ...
Syed's user avatar
  • 49.1k

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