New answers tagged

4 votes

Recognizing a Higher Percentage of Multiple Barcodes from an Image

Here is a partial answer. Hopefully someone else can improve it. BarcodeRecognize seems to work better with isolated barcodes. This can be accomplished using ...
MelaGo's user avatar
  • 7,936
2 votes

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.2k
1 vote

Fill space between two BezierCurves with random points

(Not an answer -- a comment/follow-up of the answer by @cvgmt.) I expected NIntegerate to work also for this. ...
Anton Antonov's user avatar
2 votes

Fill space between two BezierCurves with random points

Only add a Line and set CurveClosed -> True to draw a closed contour. ...
cvgmt's user avatar
  • 69.2k
0 votes

Graphics3D plot Polygon (Joined Table) gets different results with and without decimal point

To clarify the problem, we can do the 2D cases at first. We can find that whatever we set the decimal point or not, the joined line is always existence. Althought when we use ...
cvgmt's user avatar
  • 69.2k
1 vote

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.2k
3 votes
Accepted

Plot cropped unexpectedly when overlaying graphics

...
eldo's user avatar
  • 60.8k
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.2k
1 vote

How to export all graphics from a notebook?

Saving the graphics as PDFs using Alexey Popkov's approach required me to make a small modification to the Export command and use the NoteBookRead command: ...
Ryan Hass's user avatar
4 votes

How can I remove the exterior face in PlanarFaceList?

At first we use GraphEmbedding to extract the coordinates of the vertexs for the fixed embbeding. To exclude the exterior face one possible way maybe use ...
cvgmt's user avatar
  • 69.2k
2 votes

Where can I find the documentation on DropLine?

Found it! Plot[{Sin[x] + x/2, Sin[x] + x}, {x, 0, 10}, Filling -> {1 -> {2}}, PlotHighlighting -> Placed["Dropline", 6]]
Rogo's user avatar
  • 830
4 votes
Accepted

What is the source of texture examples provided in the documentation?

You can read them from the notebook. The ColorSpace option of one of the images gets corrupted the process, though. Changing ...
Goofy's user avatar
  • 2,582
3 votes

What is the source of texture examples provided in the documentation?

This is the original code of the first texture image: ...
azerbajdzan's user avatar
  • 13.4k
2 votes

How can I define a specific colour for the textures from the ExampleData?

You could also use AmbientLight as well. ...
chuy's user avatar
  • 11.2k
7 votes
Accepted

Problem with Epilog and GridLines

...
cvgmt's user avatar
  • 69.2k
5 votes
Accepted

How can I define a specific colour for the textures from the ExampleData?

The image you get from ExampleData[{"Texture", "Grass"}] is a grayscale image. The colors you see are due to the default "5-point" ...
Domen's user avatar
  • 21.9k
3 votes

How can I define a specific colour for the textures from the ExampleData?

...
cvgmt's user avatar
  • 69.2k
2 votes

Extracting values from a Bézier curve in Mathematica

...
Karl's user avatar
  • 901
4 votes
Accepted

Peak Appearances in Plot Outputs from Optimization Routines

Specify a WorkingPrecision for NMinimize to avoid using machine precision. ...
Bob Hanlon's user avatar
  • 155k
2 votes

How to efficiently duplicate and rotate a graphics object?

Update: With mirror symmetry ...
azerbajdzan's user avatar
  • 13.4k
6 votes
Accepted

Colouring Bifurcation Diagram

You can use ContourPlot to make such 1D bifurcation diagrams easily as in this answer, using ConditionalExpression to handle the ...
Chris K's user avatar
  • 20.1k
0 votes

How to efficiently duplicate and rotate a graphics object?

Consider the prime factorization of n. If n is some power of 2, create a picture of 2, 4,.. copies of the rotated original image and use them to get the whole picture. If 3 is contained in the prime ...
Daniel Huber's user avatar
  • 49.9k
7 votes

Generating vector plot with curved arrows

...
kglr's user avatar
  • 392k
7 votes
Accepted

Generating vector plot with curved arrows

Do you mean this result? ...
cvgmt's user avatar
  • 69.2k
8 votes

Early computer art - reproducing Georg Nees "Schotter" and "K27"

K27, using GridGraph ...
vindobona's user avatar
  • 2,411
4 votes
Accepted

Issue when combing Plot and ArrayPlot using Show

Reverse the data of ArrayPlot. ...
cvgmt's user avatar
  • 69.2k
14 votes
Accepted

Early computer art - reproducing Georg Nees "Schotter" and "K27"

Here is a proposal for K27. We first create e regular grid. Then we displace randomly every point proportional to its distance from the middle. ...
Daniel Huber's user avatar
  • 49.9k
8 votes

Early computer art - reproducing Georg Nees "Schotter" and "K27"

For K27,maybe use "MeshTools" for QuadMesh. ...
cvgmt's user avatar
  • 69.2k
16 votes

Early computer art - reproducing Georg Nees "Schotter" and "K27"

A quick,fun approach : ...
andre314's user avatar
  • 18.2k
2 votes

Why does VertexColors break Strikethrough?

Does this count as a sufficiently good work-around?? ...
bmf's user avatar
  • 14.9k
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.2k
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.2k
2 votes

How to make an inkblot?

We can also use ImageSynthesize: ImageSynthesize["Rorschach test inkblot", 3]
Anton Antonov's user avatar
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

Reproducing two of Victor Vasarely's colored cuboids (Eroed-Per and Gestalt-Bleu)

Gestalt-Bleu I don't konw how to control the color. One idea is that we find the projection of 3D to 2D which projecte {1,0,0} to ...
cvgmt's user avatar
  • 69.2k
8 votes

How to fill a triangle enclosed by three non-parallel lines

...
Syed's user avatar
  • 48.6k
13 votes
Accepted

Reproducing two of Victor Vasarely's colored cuboids (Eroed-Per and Gestalt-Bleu)

Eroed-Per Seed polygon coordinates: ...
kglr's user avatar
  • 392k
7 votes
Accepted

How to fill a triangle enclosed by three non-parallel lines

...
David G. Stork's user avatar
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.2k
4 votes

Efficiently fill an ellipse with a k-many random ellipses

Using DiscretizeRegion: (as a guide) ...
Syed's user avatar
  • 48.6k
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
2 votes
Accepted

Reading Custom Barcodes

Edit ...
cvgmt's user avatar
  • 69.2k
5 votes

Reproducing Josef Albers factory series (repeating rectangle patterns)

...
vindobona's user avatar
  • 2,411
10 votes
Accepted

Reproducing Josef Albers factory series (repeating rectangle patterns)

We use KroneckerProduct to create some {0,1}-matrixs. {m1,m2,...,m6,m7} are several types of ...
cvgmt's user avatar
  • 69.2k
8 votes

Reproducing Josef Albers factory series (repeating rectangle patterns)

Clearly, there is room for automation here. ...
Syed's user avatar
  • 48.6k
7 votes

Reproducing Josef Albers factory series (repeating rectangle patterns)

...
kglr's user avatar
  • 392k
2 votes

Why do image sizes shrink when printing multiple plots as a single object?

Using ResourceFunction["GraphicsInformation"] we get "ImageSize" and "ImagePaddingSize" for each ...
kglr's user avatar
  • 392k
3 votes

Why do image sizes shrink when printing multiple plots as a single object?

From the answer to my other questions (by kglr), I produced the following answer. ...
Tugrul Temel's user avatar
  • 6,070
4 votes

Placing a single X and a single Y axis to a group of plots

...
kglr's user avatar
  • 392k
3 votes

Placing a single X and a single Y axis to a group of plots

...
user444's user avatar
  • 2,126

Top 50 recent answers are included