Skip to content

Commit

Permalink
Added tutorial sequence for smooth log outcoloring inclusice german a…
Browse files Browse the repository at this point in the history
…nd english texts
  • Loading branch information
osi1 committed Jul 26, 2024
1 parent d30585a commit 278d125
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
29 changes: 29 additions & 0 deletions catalogs/de.cat
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,35 @@ Hi-Color- oder Real-Color-Modus.
Bei 8bpp-Darstellung muss dazu der
Truecolor-Filter eingeschaltet werden."

smoothlog "Farbverlauf logarithmisch

Der logarithmische Farbverlauf ist grundsätzlich
gleich wie der normale Farbverlauf, es wird einfach
der logarithmus der interpolierten Iterationen
zur Bestimmung des Farbwertes verwendet.

Dadurch wird das Bild in chaotischen
Bereichen viel ruhiger."

smoothlog0 "Dadurch werden mehr Details sichtbar
und die Bilder wirken filigraner."

smoothlog1 "Es gelten dieselben Einschränkungen wie beim
normalen Farbverlauf (Funktioniert nicht bei \"Newton\" und \"Magnet\"
und benötigt Truecolor)."

smoothlog2 "Als Beispiel dreimal derselbe Ausschnitt, einmal
ohne Farbverlauf, einmal mit normalem Farbverlauf und anschliessend
mit logarithmischem Farbverlauf."

smoothlog_nosmooth "Ohne Farbverlauf."

smoothlog_smooth "Mit normalem Farbverlauf."


smoothlog_smoothlog "Mit logarithmischem Farbverlauf."


#########################################################
# Datei: outnew.xhf

Expand Down
24 changes: 24 additions & 0 deletions catalogs/en.cat
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,30 @@ high color display modes. So if you
have 8bpp, you will need to enable
the true color filter."

smoothlog "smooth log

Smooth log is basically the same as smooth,
but takes the logarithm of the interpolated
itervalue, so the coloring gets much
quieter in chaotic places."

smoothlog0 " Thus more
details are visible.
Also the images look finer"

smoothlog1 "It has the same restrictions as
smooth (No Newton, no magnet and only works for true color."

smoothlog2 "For example the same image without using smooth,
with smooth and with smooth log."

smoothlog_nosmooth "without using smooth."

smoothlog_smooth "just using smooth."


smoothlog_smoothlog "The same image using smooth log."

#########################################################
#For file outnew.xhf

Expand Down
46 changes: 46 additions & 0 deletions tutorial/outnew.xhf
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,49 @@
(view -0.65025 -0.050542 0.18216 0.18216)
(usleep 2000000)
(filter 'truecolor #f)

; SMOOTH LOG
(usleep 2000000)
(clearscreen)
(filter 'truecolor #t)
(textposition 'center 'middle)
(message "smoothlog")
(textsleep)
(clearscreen)
(message "smoothlog0")
(textsleep)
(clearscreen)
(message "smoothlog1")
(textsleep)
(clearscreen)
(message "smoothlog2")
(textsleep)

(outcoloring 0)
(formula 'mandel)
(maxiter 100000)
(palette 3 598488124 0)
(maxiter 100000)
(view -0.7796352399 -0.1349988879 4.549645328E-06 4.54964533E-06)
;(view -1.255597 -0.028686236 0.00020636164 0.00020636288)
(display)
(textposition 'center 'bottom)
(message "smoothlog_nosmooth")
(textsleep)
(usleep 3000000)


(outcoloring 9)
(message "smoothlog_smooth")
(textsleep)
(usleep 3000000)
(display)

(outcoloring 10)
(message "smoothlog_smoothlog")
(textsleep)
(usleep 3000000)
(display)
(usleep 3000000)


0 comments on commit 278d125

Please sign in to comment.