4 ms·
I've never attempted to learn Morse, but it looks like a few hours of practice should do it. Anyone can learn it, but I expect younger people would be more will
by WalterBright 5y ago
I've never attempted to learn Morse, but it looks like a few hours of practice should do it. Anyone can learn it, but I expect younger people would be more willing to do it.
> the insight
The vertices will be on pixel addresses. The edges of the triangle will have no discontinuities themselves, and the triangles sharing an edge will have no discontinuities. Hence, no banding or blockiness. A naive renderer would just render the colors of the triangle as a straight linear interpolation. A more advanced one could look at the adjoining triangles, and render it so the first derivative would also be zero across the line. I.e. curve fit it.
The selection of where the vertices go would likely be best selected where the colors are shifting fastest, i.e. an edge in the picture.
The neato thing is one could render a low res image on a high res display and it'll still look good. You wouldn't have these stray pixels scattered around the text like jpg does. The other neato thing is more vertices can be put in the complex areas of the image, rather than wasting bandwidth on the parts of it that are smooth.
Progressive sharpening of the rendering also works, as more vertices can be added at any time.
- srean 5y agoHexagonal, equivalently, equilateral triangular tessellations indeed have many advantages over using squares. Your scheme reminded me of Delaunay triangulation and its dual, Voronoi tessellation. I have a faint suspicion that your familiarity with finite element models had something to do with your choice of triangles.
- WalterBright 5y agoTriangles are used by game engines for good reason. Hexagonal cannot be mapped without discontinuities. Equilateral triangles are not necessary. I've done finite element models, but they were pretty unsophisticated.
- srean 5y agoThat's right, simplicial complexes of the right dimension would give one the most fidelity in terms of continuity. Triangles happen to be the one for 2D. For 3D one would get similar benefits using tetrahedra. I was alluding the fact that barring boundary effects hexagonal tessellation and equilateral tessellation are essentially the same.
- dharmon 5y agoThe method actually reminds me of a simple h-refinement scheme for FEM.