Discuss Scratch

i_eat_coffee
Scratcher
1000+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

SuperSonicmario wrote:

Not bad.
-snip-

That's actually really impressive.

breakfast_for_dinner wrote:

400 posts is crazy man

SuperSonicmario wrote:

(#397)
array █ █ █ ▓ ▓ ▓ ▒ ▒ ▒ ░ ░ ░ . as charset
set null to [ ]
set cr to -1.25
while {cr} < 1.25
set ci to -2.5
while {ci} < 1.5
-snip
end
out {letter 2:null}
add {cr} 0.125 as cr
end
very impressive! good work. what exactly is it?

() Coffee | she/he/they | Teenager
Full-stack web developer | HTML/CSS/JS, Node.js + EJS
SuperSonicmario
Scratcher
100+ posts

Obscure - The brand-new, Turing-Complete, easy to use programming language

breakfast_for_dinner wrote:

very impressive! good work. what exactly is it?
It's a Mandelbrot fractal. It's generated by interpreting the coordinates of each pixel as a complex number, where the X position is the real part and the Y position is the imaginary part. This number is squared, then the original coordinates are added back in a loop. The colour of each pixel depends on how quickly the number increases.

Update: Ugh. ChatGPT ninja'd me.

Last edited by SuperSonicmario (Today 08:30:19)

Powered by DjangoBB