Posts

Showing posts from February, 2023

Fun with Gradients

Image
Using John Kennedy's routine for drawing circles using only integer arithmetic ( https://www.conorpp.com/_sllu/bcircle.pdf ) Exponential growth of red-value :  cirgrad = new SimpleImage( 200, 200 ); var p; var red=1; var rad=1 for( let x = 100; x < 255; x++) {     plotCircle( cirgrad, 100,100,rad++,red);     if( 0 == rad % 1 ) {         red *= 1.07;     } } print(cirgrad); Gives you :  Stepped Linear Growth of red-value :  for( let x = 100; x < 255; x++) {     plotCircle( cirgrad, 100,100,rad++,red);     if( 0 == rad % 15 ) {         red += 25 ;     } } Stepped Exponential Growth of red-value :  for( let x = 100; x < 255; x++) {     plotCircle( cirgrad, 100,100,rad++,red);     if( 0 == rad % 10 ) {         red *= 1.8;     } } Looking in from the edge :  var red=255; var rad=140 var cx = 100; var cy = 100;...

WSL Terminal Fails to Launch After Latest Windows Updates

These seem to have messed the system up in some way : 2023—01 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (K85022282) Successfully installed on 1/30/2023 2022-12 Cumulative Update for .NET Framework 3.5. 4.8 and 4.8.1 for Windows 10 Version 21H2 for x64 (KBSOZ1088) Successfully installed on 1/30/2023 2023—01 Update for Windows 10 Version 21H2 for x64—based Systems (K811023057) Successfully installed on 1/30/2023 2022-08 Security Update for Windows 10 Version 21H2 for x64-based Systems (KBSO12170) Successfully installed on 1/30/2023 Going to try installing this one and see if it fixes it.. Feature update to Windows 10, version 22H2 No clue what to do. Went to Upwork. The WSL Terminal not usable was fixed in a few minutes - just go to the folder that it's installed in.  C:\Users\username\AppData\Local\wsltty Rename the wsltty to wsltty_old, go to the GitHub page for WSLTTY, get the new installer and install and you're in business. The other curio of moving...