Skip to content

Commit e0395de

Browse files
committed
New Post Tornado
1 parent 30232c4 commit e0395de

3 files changed

Lines changed: 4056 additions & 0 deletions

File tree

content/posts/tornado-of-lines.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
+++
2+
date = '2026-03-02T01:26:26+02:00'
3+
draft = false
4+
title = 'Tornado of Lines'
5+
description = ''
6+
thumbnail = '/images/tornadothmb.svg'
7+
showThumbnail = false
8+
tags = ['Lines']
9+
# coauthors = [
10+
# { name = 'Jane Doe', link = 'mailto:jane@example.com' },
11+
# ]
12+
+++
13+
14+
![](/images/tornado.gif)
15+
This graph is defined by bunch of lines by defining two points, the start and the end, and then connect them.
16+
17+
Each pair of points is defined by four functions which is
18+
$$X_1(n)=\sin\left(\frac{2\pi n}{1000}\right)-\cos\left(\frac{\pi n}{1000}\right)$$
19+
$$Y_{1}(n)=\left(\cos\left(\frac{2\pi n}{1000}+\frac{2\pi}{5}\right)\right)^{3}$$
20+
$$X_{2}(n)=\sin\left(\frac{5\pi n}{1000}+\frac{\pi}{3}\right)$$
21+
$$Y_{2}(n)=\sin\left(\frac{\pi n}{1000}+\frac{\pi}{10}\right)$$
22+
23+
Hence each line as a function, $l:\mathbb N^+s \times \mathbb R ^{+}\to \mathcal P(\mathbb R^2)$, is defined as
24+
$$l(k,o)=\set{\left(1-t\right)\left(X_{1}\left(k\right),Y_{1}\left(k\right)\right)+t\left(X_{2}\left(k\right),Y_{2}\left(k\right)\right) \in \mathbb R^2 \mid t \in [0,o]}$$
25+
26+
At the end, the graph is
27+
$$G(o)=\bigcup _{k=1}^{1000}l(k,o)$$
28+
and animation is just varying $o$ between $0$ and $1$.

static/images/tornado.gif

2.04 MB
Loading

0 commit comments

Comments
 (0)