TradingView
sabricat
2023年2月27日晚上6點44分

[-_-] 2D Fractals 

Ethereum / TetherUSBinance

描述

The sole purpose of this script is to demonstrate what's possible to make with Pinescript, namely to display images (2D Fractals in this case).

The script consists of two functions: one that generates the values of a fractal and one that displays them (utilising table) with each cell being used as a "pixel". We can control the "resolution" of image, as well as choose one of three fractal types.
評論
RicardoSantos
>2D_GS.< how pretty :p
sabricat
@RicardoSantos, Wow, thank you so much! 😮 It's the first time someone (moreover with account of this level...) gifts me coins.
kaigouthro
From me too.. Great idea. have you considered taking it from table to the background, and maybe rotating? i wonder if it fits with candles?
sabricat
@kaigouthro, Yay 🥳 Thank you so much! I think I get what you mean. Rotate it -90 degrees and put the green/yellow part on the chart using plot() or line objects. Might actually be interesting. Will try to make it somewhere this or next week and ping you when it's ready.
kaigouthro
@-_-, shameless plug: use my hsv lib and get the hue for the cols based of actual values instead of steps, it'll look pretty sharp.
kaigouthro
chervolino
i love it
sabricat
@chervolino, Thank you 😊
user1928374560XYZ
woah
sabricat
更多