Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make a floating action button
#1
Hi there,

Any quick script or steps on how i can make shadow, on a button? 

like those phone floating action button: 

   
Reply
#2
You can easily make a drop shadow in Gimp. Two built-in filters, both in Filters -> Light and Shadow  The GEGL Drop Shadow version and the older Drop Shadow (legacy).

The GEGL version previews on the canvas, needs the layer expanding (use Layer -> Layer to Image size if necessary) Un-link the x and y and play with the sliders.

   

As important is how you assemble an image, use as many layers as required and if possible collect layers for any particular subject ( a button for example)) in a layer group.
Reply
#3
(12-30-2019, 06:22 PM)rich2005 Wrote: You can easily make a drop shadow in Gimp. Two built-in filters, both in Filters -> Light and Shadow  The GEGL Drop Shadow version and the older Drop Shadow (legacy).

The GEGL version previews on the canvas, needs the layer expanding (use Layer -> Layer to Image size if necessary) Un-link the x and y and play with the sliders.



As important is how you assemble an image, use as many layers as required and if possible collect layers for any particular subject ( a button for example)) in a layer group.

Rich, just wondering if you can you make a gif on how you achieve this process ?
Interested in the process how you go about ..
- drawing the rounded plus sign with rounded corners and also managed to center it in the circle.
- looks like you have center guide on that circle.
- Did you draw the circle using path or just standard ecllipse?
Reply
#4
An easy way to make shadow is make a copy from the object (here button) on a transparent layer. Then make te copy black (ex. colours / desaturate / mono mixer) and blur the new layer. make shure the new layer is under the original button layer. Then move the copy layer to the direction you want. You can make a large shadow by using te perpective tool or the cage transform tool.

   
Reply
#5
It is simple enough to show adding a drop shadow and maybe cross, might take a couple of seconds but possibly just as important is to get in the habit of setting up an image for ease of editing. Hence a somewhat longer than normal video of the process - 4 minutes so not too long.  https://youtu.be/LlPdOX479x8








There are scripts and plugins for setting all layers to the canvas size. This one used in the video:
ofn-layers-to-image-size  (date 2018-03-15) from http://sourceforge.net/projects/gimp-too...s/scripts/
Unzip, put the ofn-layers-to-image-size.py in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins (assuming you are using Windows)
Reply
#6
Thanks for the tut. Will help lots myself and beginners in the future when we don't work on this that often. Smile
Reply


Forum Jump: