From: Carlos Lopez Date: Sun, 25 Apr 2010 16:46:53 +0000 (+0200) Subject: Add Mandelbrot and Julia fractal layers. Thanks to Bertrand GrĂ©goire (berteh) X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6426db67ebb966df63e8c9a63cff61fb4e995933;p=synfig.git Add Mandelbrot and Julia fractal layers. Thanks to Bertrand GrĂ©goire (berteh) --- diff --git a/synfig-studio/images/Makefile.am b/synfig-studio/images/Makefile.am index 4fb3b95..dda87c8 100644 --- a/synfig-studio/images/Makefile.am +++ b/synfig-studio/images/Makefile.am @@ -111,6 +111,8 @@ EXTRA_DIST = \ layer_filter_halftone2_icon.sif \ layer_filter_halftone3_icon.sif \ layer_filter_luma_icon.sif \ + layer_fractal_mandelbrot_icon.sif \ + layer_fractal_julia_icon.sif \ action_set_layer_description_icon.sif \ action_add_to_group_icon.sif \ action_remove_from_group_icon.sif @@ -222,6 +224,8 @@ IMAGES = \ layer_filter_halftone2_icon.$(EXT) \ layer_filter_halftone3_icon.$(EXT) \ layer_filter_luma_icon.$(EXT) \ + layer_fractal_mandelbrot_icon.$(EXT) \ + layer_fractal_julia_icon.$(EXT) \ action_set_layer_description_icon.$(EXT) \ action_add_to_group_icon.$(EXT) \ action_remove_from_group_icon.$(EXT) \ diff --git a/synfig-studio/images/layer_fractal_julia_icon.sif b/synfig-studio/images/layer_fractal_julia_icon.sif new file mode 100644 index 0000000..2fbf15f --- /dev/null +++ b/synfig-studio/images/layer_fractal_julia_icon.sif @@ -0,0 +1,1447 @@ + + + Synfig Studio Fractal Julia Icon + Placed in the Public Domain in 2010 by Bertrand Grégoire (berteh) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.5357930660 + 0.2325048894 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.9857733250 + -2.5678207874 + + + + + + + + + + + + + + + + + + + + + + + + 1.7945270538 + -0.0484752767 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045137584 + 0.4893692732 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -3.0602860451 + -0.0225137081 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045136392 + -0.5417450666 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + -0.0221135188 + 0.3819231093 + + + + + + + + + + + + + + + + + 0.000000 + 0.466938 + 0.198811 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -0.1434945911 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -0.8084937930 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.6546451449 + -0.8084937930 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.6546451449 + -1.0345934629 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -1.0478935242 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0295458958 + -1.6197928190 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -1.6197928190 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -1.0212935209 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.7285531759 + -1.0079935789 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.7285531759 + -0.7685938478 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2231537998 + -0.7685938478 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -0.1833945364 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.496549 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -0.1434945911 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -0.8084937930 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.6546451449 + -0.8084937930 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.6546451449 + -1.0345934629 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0162459109 + -1.0478935242 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0295458958 + -1.6197928190 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -1.6197928190 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -1.0212935209 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.7285531759 + -1.0079935789 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.7285531759 + -0.7685938478 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2231537998 + -0.7685938478 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.2497537583 + -0.1833945364 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.634155 + 1.000000 + 0.139721 + 1.000000 + + + + + 0.000000 + 0.026312 + 0.827582 + 1.000000 + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/images/layer_fractal_mandelbrot_icon.sif b/synfig-studio/images/layer_fractal_mandelbrot_icon.sif new file mode 100644 index 0000000..def8b28 --- /dev/null +++ b/synfig-studio/images/layer_fractal_mandelbrot_icon.sif @@ -0,0 +1,437 @@ + + + Synfig Studio Fractal Mandelbrot Icon + Placed in the Public Domain in 2010 by Bertrand Grégoire (berteh) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.5357930660 + 0.2325048894 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.9857733250 + -2.5678207874 + + + + + + + + + + + + + + + + + + + + + + + + 1.7945270538 + -0.0484752767 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045137584 + 0.4893692732 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -3.0602860451 + -0.0225137081 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045136392 + -0.5417450666 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.4712318182 + 0.0925045088 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.982623 + 0.000000 + 0.000000 + 1.000000 + + + 0.755864 + 1.000000 + 0.000000 + 1.000000 + + + 0.000000 + 0.644444 + 0.000000 + 1.000000 + + + 0.000000 + 0.265860 + 1.000000 + 1.000000 + + + 0.982623 + 0.114966 + 0.432432 + 1.000000 + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0510129072 + -0.1612036824 + + + + + 0.0649039224 + 0.0649039224 + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/src/gtkmm/iconcontroller.cpp b/synfig-studio/src/gtkmm/iconcontroller.cpp index e85b6c3..d74a70d 100644 --- a/synfig-studio/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/src/gtkmm/iconcontroller.cpp @@ -187,6 +187,8 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(layer_filter_halftone2,"layer_filter_halftone2_icon."IMAGE_EXT,_("Half Tone 2 Layer")); INIT_STOCK_ICON(layer_filter_halftone3,"layer_filter_halftone3_icon."IMAGE_EXT,_("Half Tone 3 Layer")); INIT_STOCK_ICON(layer_filter_luma,"layer_filter_luma_icon."IMAGE_EXT,_("Luma Layer")); + INIT_STOCK_ICON(layer_fractal_mandelbrot,"layer_fractal_mandelbrot_icon."IMAGE_EXT,_("Mandelbrot Set Layer")); + INIT_STOCK_ICON(layer_fractal_julia,"layer_fractal_julia_icon."IMAGE_EXT,_("Julia Set Layer")); INIT_STOCK_ICON(plant,"plant_icon."IMAGE_EXT,""); @@ -506,6 +508,10 @@ studio::layer_icon(const synfig::String &layer) return Gtk::StockID("synfig-layer_filter_halftone3"); else if(layer=="lumakey") return Gtk::StockID("synfig-layer_filter_luma"); + else if(layer=="mandelbrot") + return Gtk::StockID("synfig-layer_fractal_mandelbrot"); + else if(layer=="julia") + return Gtk::StockID("synfig-layer_fractal_julia"); else return Gtk::StockID("synfig-layer"); }