···11+22+h2 { Projective Shift Map }
33+44+f(z) = (r + cos(ฮธ-ฯ))e^(iฮธฯ) - c
55+where z_n = r * cos(ฮธ)
66+77+b{click and drag} to move around, b{scroll} to zoom in and out; b{press F} to go fullscreen
88+99+div[style=height: 75%]{ $gpu/proj_shift {} }
1010+1111+this visualization is treating each pixel coordinate as a starting value z_0 in the complex plane, and running it through the iterative equation above many times, keeping track of where it ends up. points that exceed the "escape distance" from the origin are grayscale, darker the longer they took to reach that escape threshold. the rest of the points are colored according to their final location (as you increase the iterations count, you can watch them jump around). green is based on distance from the origin, while blue and red are based on the angle around the origin. you can set iterations to zero to see what the color mapping looks like prior to any of the points moving.
1212+1313+i{p.s. you can use the input boxes to exceed the bounds of the sliders}
1414+1515+i{p.p.s. you can save the canvas as an image in the right click menu}
1616+
-36
webui/content/orb/test.orb
···11-22-blog blog blog blog
33-44-here's some bold{ bold text } and italic{ italic text }, i hope it renders right
55-66-code:
77-height300 { code/highlight {
88- function fibonacci(n) {
99- if (n <= 1) return n;
1010- return fibonacci(n - 1) + fibonacci(n - 2);
1111- }
1212-} }
1313-1414-demo:
1515-demo { gpu/proj_shift {} }
1616-1717-For mathematical expressions, I can write things like math{ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} } inline, or display them in blocks:
1818-1919-math {
2020-E = mc^2
2121-2222-\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}
2323-}
2424-2525-Sometimes I want to embed interactive demos. If your browser supports WebGPU, you can play with this fractal:
2626-2727-sandbox {
2828- fractal {
2929- type: mandelbrot
3030- zoom: 1.5
3131- center: [-0.5, 0]
3232- }
3333-}
3434-3535-This text tests \{ escape sequences \}!
3636-