105 votes

Code that generates a mandala

Here is one way to come up with "mandalas" -- we generate a segment and then by appropriate number of rotations we produce a "mandala". Here is an example function of a random seed segment ...
Anton Antonov's user avatar
101 votes
Accepted

Is it possible to draw this figure using Mathematica?

Here's a quick take on it: ...
M.R.'s user avatar
  • 31.2k
76 votes
Accepted

How to make the digits of π go around in a spiral like this?

My original code was crashing when you used too many digits because apparently Mathematica can handle only so many different font sizes. To fix it, I had to borrow george2079's PDF trick to turn each ...
Martin Ender's user avatar
  • 8,744
71 votes

How to make this beautiful animation

Edit: Added the reversal and some refinements ...
Quantum_Oli's user avatar
  • 7,874
69 votes

How do I draw a pair of buttocks?

Scientific progress! In v10.3 with all the goodies in AnatomyData we can now use the simple code: ...
Sjoerd C. de Vries's user avatar
69 votes
Accepted

How to make this beautiful animation

I'd like to expand on Quantum_Oli's answer to give an intuitive explanation for what's happening, because there's a neat geometric interpretation. At one point in the animation it looks like there is ...
C. E.'s user avatar
  • 70k
68 votes

Code that generates a mandala

For this one I've defined three types of layer, a flower, a simple circle and a ring of small circles. You could add more for greater variety. ...
Simon Woods's user avatar
  • 84.6k
67 votes

Writing a word with straight lines

Here is a start. I'm sure others will come up with better solutions, but I think from here it's mostly down to finding a better algorithm to pick the random lines. First, we get ourselves a ...
Martin Ender's user avatar
  • 8,744
58 votes
Accepted

Generating Doyle spiral painting

TL;DR Yes, this can be done! If you read the article "Hexagonal circle packings and Doyle spirals" by Leys, you will see that for a choice p and ...
halirutan's user avatar
  • 112k
47 votes

Is it possible to draw this figure using Mathematica?

...
Dr. belisarius's user avatar
45 votes

How to make the digits of π go around in a spiral like this?

Avoid the too many font sizes issue by convert characters to graphics primitives: ...
george2079's user avatar
  • 38.8k
45 votes

Writing a word with straight lines

Weighted sampling of line segments based on overlap/non-overlap ratio: ...
kirma's user avatar
  • 18.7k
44 votes

Drawing Clifford Attractors in Mathematica

Parameters: a = -1.24458; b = -1.25191; c = -1.815908; d = -1.90866; Compiled function used for iteration: ...
Szabolcs's user avatar
  • 233k
43 votes
Accepted

Draw impossible figure with MMA, how can it be done?

Edit Since TernaryListPlot is new in 13.1 version,for old version,we use ternary[{p1_, p2_, p3_}] = {p1 + 1/2 p2, Sqrt[3]/2 p2}; ...
cvgmt's user avatar
  • 63.4k
39 votes
Accepted

Make a beautiful Moiré effect

I feel that once you start with Moire patterns, there's no ending. The way I would replicate these is by making a grid into a function (like @JasonB) but also parametrise the angle of rotation into it:...
gpap's user avatar
  • 9,636
39 votes
Accepted

Writing a word with straight lines

Here is another way of making this kind of graphics using version 6 commands. I am not sure how valuable is this different way of making them compared to the other answers of Martin Buettner and kirma,...
Anton Antonov's user avatar
36 votes

Is it possible to draw this figure using Mathematica?

Here is a slightly different way of going about it: ...
J. M.'s eventual burnout's user avatar
36 votes
Accepted

How to create this spikey in Mathematica?

This is probably too slow to get a decent image, but here's a simple attempt. As JM suggests, you can use Geodesate to get a good set of points on the sphere. I ...
Simon Woods's user avatar
  • 84.6k
35 votes

Writing a word with straight lines

Another way that produces a more uniform distribution of lines is to take the DistanceTransform of the text. I start with the text itself: ...
gpap's user avatar
  • 9,636
35 votes
Accepted

Generate landscape by cutting a plane in 3d

My solution does not follow the algorithm you described to the word (I don't choose two random points and find the line equation that runs through them but instead choose a random line equation) but ...
Sascha's user avatar
  • 8,399
33 votes
Accepted

Converting Image to full-length lines

Actually, the algorithm is straightforward, it is perfectly well explained in the video you linked, and I'm not entirely sure why you haven't simply tried it yourself. So what I will provide is a ...
halirutan's user avatar
  • 112k
32 votes
Accepted

How to generate image like QR code with Mathematica

This version of generation code is originally posted at wolfram community. I guess a story-telling type post would attract more upvotes and probably give some insight about how to 'solve problems' ...
Wjx's user avatar
  • 9,518
32 votes
Accepted

Visualize an irrational number

With a pie chart around it: ...
halmir's user avatar
  • 14.8k
30 votes

How can Mathematica be used to create images like these?

Here's something to get the ball rolling: ...
MarcoB's user avatar
  • 65.8k
30 votes

Code that generates a mandala

The point of using machine learning algorithms for generation of mandala images mentioned in the comments of my previous answer is clarified in this blog post: "Comparison of dimension reduction ...
Anton Antonov's user avatar
29 votes

Visualize an irrational number

With help of: (1) how to generate repeatable Unique streams? (2) Color Blend in BezierCurve (3) Is it possible to draw really thin lines in Mathematica? here is something to start: ...
Kuba's user avatar
  • 136k
29 votes

Code that generates a mandala

Completeley trial & error, but you can play around with it to your heart's content: ...
martin's user avatar
  • 8,152
27 votes

How can Mathematica be used to create images like these?

(These solutions loosely adhere to OP's request in the question. They were mostly made because of similar art/solutions pointed in the comments.) "Delaunay raster" like Here is a solution related to ...
Anton Antonov's user avatar
27 votes

How can Mathematica be used to create images like these?

A function to subdivide the triangles based on their gray level: ...
shrx's user avatar
  • 7,797

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