Tagged Questions
2
votes
1answer
106 views
How do I generate in LaTeX a list of random questions avoiding repetitions?
How do I generate in LaTeX a list of random questions avoiding repetitions?
\documentclass{article}
\usepackage[pdftex]{exerquiz}
\usepackage{enumitem}
\usepackage{tikz}
...
2
votes
0answers
71 views
How to draw a smooth random blob with TikZ? [duplicate]
How can I draw a smooth, "natural" looking blob with TikZ?
My approach
\begin{tikzpicture}
\draw [] (0,0)node[circle,draw,decorate,decoration={random steps,segment length=.3cm,amplitude=1cm},rounded ...
7
votes
3answers
359 views
How to draw a rectangle filled with random size circular pattern?
I wish to generate a rectangle with circular features present within (to represent water particles), something like this:
Which shows that the incoming radiation decreases with distance (as ...
40
votes
1answer
652 views
Toward a Stamper Package
Imagine that you want to simulate a hand stamp on every page in some large documents. It must be an imperfect print, with random page-to-page variations in ink intensity, fading, rotation and blur. ...
25
votes
2answers
554 views
tikz: Distribute evenly and randomly circles
I want to fill a part of a picture with more or less evenly and randomly distributed circles which should not overlap. It would be okay if circles are only partly inside the shape.
The density should ...
5
votes
1answer
151 views
Tikz randomly placed groups of objects
I would like to place several groups of three objects (two circle paths and one node) in a triangular area. I came up with the following code, which is based on a subdivision of the triangle in ...
13
votes
1answer
344 views
TikZ: decoration - random steps: how to get twice exactly the same shape?
I'm creating a beamer presentation, in which I use TikZ.
I am making a figure, on which I would like to highlight something (using \only<> command). My figure contains an ellipse that is ...
9
votes
4answers
566 views
How to randomly shuffle a sliced image?
I have no idea to shuffle the following grids of a sliced image. How to do this in (La)TeX or PostScript level?
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{multido}
...
4
votes
1answer
117 views
Random scale of square makes a rectangle
Why does this code generates a rectangle, not a square?
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[scale=rnd] (0,0) rectangle (1,1);
...
7
votes
2answers
530 views
Automatically generated BINGO cards
I am trying to automatically generate a series of BINGO cards. So, I need a 5 x 5 table with square cells that allow text wrapping. I also want to randomly assign a word to each cell from a "bank" ...
6
votes
2answers
1k views
Defining variables in TikZ
I'm trying to define random variables - for example to draw some random points of the form (r,r) when r is a random number. I tried \def\myrandomnumber{rnd}, but that seems to give me a new random ...
5
votes
1answer
523 views
Naming coordinates in a foreach loop
I have the following problem: I am using beamer together with tikz, and I want to use some random points in a drawing which is shown over a couple of slides.
If I use the normal random method, the ...
7
votes
1answer
351 views
Storing the result of a random number in tikzpicture
I am drawing a surface composed of rigid "molecules" composed of three spheres each. I want to add some randomness to the surface. I have created this code:
\begin{tikzpicture}
\def\nuPi{3.1459265}
...
5
votes
1answer
558 views
Conditional using non-integer numbers
I am trying to generate fractals using affine transformations.
I need to generate a random number in the interval (0,1),
and depending on the value of this random number choose a
function to ...

