| ▲ | Leftium an hour ago | |
https://fx.leftium.com (https://github.com/Leftium/fx) Old-school graphics in modern TS. Several years ago, it was not possible to blit an entire screen of random pixels to the screen at a decent frame rate without something like shaders. Even though the screen is now even higher resolution, the CPU can now blast 2560x1440 random pixels to the screen at 90 FPS. Must be advancements in hardware and/or JS runtime. (The bottleneck seems to be generating the random numbers...) I figured out how to make my TV static effect look more realistic: - Mostly: TV "pixels" had wide aspect ratios[1] - Larger "grains" (see info in corner) - Also added subtle CRT scan line effect. ('C' to toggle) - Looks different when animated (click to toggle pause; probably should emulate 60FPS). --- Started revisiting this rabbit hole while thinking about programming prompts from the new Recurse Center application[2]. They suggest about six different prompts; I figured out how to combine all the prompts together. [1]: https://github.com/Leftium/fx/blob/33405b25dc7caeb48e6c563a3... | ||