Loading animation that can be easily customised to change the look of the:
- Scale
- Color
- Custom image
- Speed
- Shape/Animation -- to a lesser extent
- Position
/** | |
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units | |
* | |
* To overcome this, create media queries that target the width, height, and orientation of iOS devices. | |
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing | |
* the height of element `.foo` —which is a full width and height cover image. | |
* | |
* iOS Resolution Quick Reference: http://www.iosres.com/ | |
*/ | |
import bpy | |
dfile = r"C:\Users\dealga\Desktop\Archive\SU8606_DSM_1M.asc" | |
getval = lambda i: next(i).split()[1] | |
with open(dfile) as ofile: | |
ncols = getval(ofile) | |
nrows = getval(ofile) | |
xllcorner = getval(ofile) |