Oliver Wipfli

@wipfli
50 Followers
17 Following
91 Posts

Update on the Slug algorithm Open Source implementation: I absorbed GLyphy into a new HarfBuzz module called hb-gpu.

Check out the web demo. Interact with it with the mouse. Or press space to animation rotation:

https://behdad.org/hb-gpu-demo

Discuss hb-gpu at:

https://github.com/harfbuzz/harfbuzz/pull/5878

HarfBuzz GPU Demo

Great news today for GPU-accelerated text rendering:

"""
I was granted a patent for the Slug algorithm in 2019, and I legally have exclusive rights to it until the year 2038. But I think that’s too long. The patent has already served its purpose well, and I believe that holding on to it any longer benefits nobody. Therefore, effective today, I am permanently and irrevocably dedicating the Slug patent to the public domain. ...

To aid in implementations of the Slug algorithm, reference vertex and pixel shaders based on the actual code used in the Slug Library have been posted in a new GitHub repository and made available under the MIT license. ...
"""

Thank you, @EricLengyel!

https://terathon.com/blog/decade-slug.html

A Decade of Slug - Eric Lengyel

I learned it like this...
When you learned to subtract numbers by hand, did you learn it with this "borrowing" method?
I forgot how to subtract say 384 from 2173 and asked some chatbots "how do you subract by hand with pen and paper". They all explain it with this super strange borrowing method. Here in Switzerland I just learned to add a 1 if you cross zero...
Multiply blending is nice for topographic maps, it keeps the greenness of forest much better than normal alpha blending. By coincidence I learned today that multiply blending can help as well for burning gaps around letters into contour lines. Here are some screenshots, code and demo see https://github.com/wipfli/hillshade-multiply-blending

I bought a Seagate Exos X24 hard disk drive. First test gave these numbers:

Write one 80 GiB file (85135469091 bytes): 4min 36s -> 294 MiB / sec
Read one 80 GiB file (85135469091 bytes): 5min 31s -> 245 MiB / sec

Mapterhorn v0.0.1 has been released. It is an aggregation of the global Copernicus GLO-30 low-resolution digital elevation model with the Swiss swissALTI3D high-resolution model. https://mapterhorn.com/
Mapterhorn

Getting the parent tile of child_x, child_y, child_z at zoom parent_z in JavaScript can be done like this:

parent_x = child_x >> (parent_z - child_z)
parent_y = child_y >> (parent_z - child_z)

@wipfli congrats on getting NLnet funding for #Mapterhorn - sounds like an awesome idea!