Linked Questions

603 votes
19 answers
157k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
118 votes
7 answers
14k views

Generating visually pleasing circle packs

EDIT: (my conclusion and thank you note) I want to thank you all guys for this unexpected intellectual and artistic journey. Hope you had fun and enjoyed it the same as I did. I would like to ...
VividD's user avatar
  • 3,670
52 votes
7 answers
4k views

Character edge finding

The following line of code finds the edge of a character: ...
Sjoerd C. de Vries's user avatar
49 votes
7 answers
10k views

Intersecting graphics

Does the Mathematica graphics system have any concept of intersecting graphics? I've not found much in the documents so far. For example, if I want to show the intersection of two shapes: ...
cormullion's user avatar
  • 24.3k
68 votes
4 answers
3k views

Reconstruct text pages cut by shredder

Q1: I have a page of a printed text file, but it was cut by a paper shredder (from top to bottom). You can download all the paper fragments here. Here are some of them. How can I reconstruct it? Q2: ...
mmjang's user avatar
  • 2,583
34 votes
5 answers
4k views

Is there a way to outline text?

If I have: Graphics[ {Red, EdgeForm[Directive[White, Thick]], Inset[Style[Text@"Hi!", 44], {0, 0}]}, Background -> Black ] I unfortunately get: ...
VF1's user avatar
  • 4,732
26 votes
4 answers
1k views

How to partition a disk into individually spaced bricks?

What I want to do is in any way produce a picture that looks like this Given a set of words, how can I partition a disk into bricks for these words, such that it looks good? Here is my sucky ...
Nikolaj-K's user avatar
  • 1,485
18 votes
4 answers
1k views

How to determine the convex hull of some text?

How can I get the co-ordinates of the convex hull of a piece of Text?
Emre's user avatar
  • 1,740
14 votes
2 answers
3k views

How to position text labels automatically to not overlap other graphics elements?

I was plotting reciprocal frame projection using Locators for a point to be expressed in terms of both the original basis (also specified with ...
Peeter Joot's user avatar
  • 6,438
23 votes
2 answers
885 views

Spacing out random walks so they don't overlap

From an external simulation program, I have lots of particle tracks which follow random walks, all of which start at or near the origin $(0,0)$. This means that when I plot the walks in Mathematica, ...
dr.blochwave's user avatar
  • 8,798
22 votes
2 answers
688 views

Packed Graph or GraphPlot output with non-square layout?

Graph or GraphPlot produce square layouts for disconnected graphs: Graph[Table[i -> Mod[i^3, 100], {i, 1, 100}]] I´d like to get a rectangular layout with e.g....
Yves Klett's user avatar
  • 15.4k
16 votes
2 answers
2k views

Computing the bounding boxes for Text objects

Regardless of AspectRatio, the Text boxes overlap. ...
alancalvitti's user avatar
  • 15.1k
14 votes
1 answer
552 views

Packing arbitrary shapes

I'm looking for a general method of packing any set of 2D glyphs. For example, say I had 30 randomly transformed english characters: ...
M.R.'s user avatar
  • 31.6k
1 vote
1 answer
742 views

How can I simulate a pot lid rotating around an axis that is quickly rotating?

How can I simulate the rotation of a pot lid about an axis that is quickly rotating as in the following image? I'm particular interested in the motion of the red dot. Here is my attempt: ...
xslittlegrass's user avatar
7 votes
1 answer
303 views

Wordcloud creates a messy image

I'm trying to use Wordcloud built in function (I'm using v10.3.0.0) but the result is not good. I'm using a list with expressions and respective weights: ...
Miguel's user avatar
  • 981

15 30 50 per page