Inspirational work created by a Fife artist living with an incurable form of brain cancer is being showcased at a local gallery.