Commit 05146a8
committed
Add -mod100 to default Mandelbrot plot, and use plot forcedDefaults
In order to not apply this "-mod100" to the default gradient for
sequence plots (when the plot name and URL version param are included,
but no gradient is included, in the user's entered URL params) use a
different default gradient, without "-mod100" when the plot is a
sequence plot.
Also use the user-specified plot's "forcedDefaults" to override the
default params. If, for example, the user omits the "n" (iterations)
parameter from the URL, a sensible default for the plot is used.
Previously, the mandelbrot default n=60 would be used, which is not a
good default at all for the "Primes-1-Step-90-turn" plot.1 parent 79bab75 commit 05146a8
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
796 | 801 | | |
797 | 802 | | |
798 | 803 | | |
| |||
811 | 816 | | |
812 | 817 | | |
813 | 818 | | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
814 | 826 | | |
815 | 827 | | |
816 | 828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
924 | | - | |
| 924 | + | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| |||
0 commit comments