Buy My Book!
Games
Games (2)
Github
Other Posts
Recent Posts: This Could Be Better
Creating, Building, and Running a Simple Program in the Go Language
Creating a Hello World Program in .NET Core with Visual Studio Code
Creating a Template-Driven Component in Angular
Installing and Running Angular on Windows 10
Creating an ASP.NET MVC Application in Visual Studio
Running Linux in a Virtual Machine using QEMU on Windows
Creating an Ext4 Filesystem Image File
Compiling Java Packages and Subpackages from the Command Line
An Image Combiner in JavaScript
Hello World in TypeScript with Classes in a Web Browser
Archives
- March 2023 (1)
- February 2023 (4)
- November 2021 (1)
- October 2021 (2)
- September 2020 (1)
- June 2020 (1)
- November 2019 (1)
- July 2019 (1)
- April 2019 (1)
- March 2019 (1)
- February 2019 (1)
- December 2018 (1)
- October 2018 (2)
- September 2018 (2)
- August 2018 (1)
- March 2018 (1)
- February 2018 (3)
- January 2018 (4)
- December 2017 (2)
- November 2017 (3)
- October 2017 (3)
- September 2017 (2)
- August 2017 (3)
- July 2017 (6)
- June 2017 (5)
- May 2017 (1)
- March 2017 (3)
- February 2017 (7)
- January 2017 (3)
- December 2016 (2)
- November 2016 (1)
- October 2016 (6)
- August 2016 (6)
- July 2016 (1)
- May 2016 (11)
- April 2016 (1)
- March 2016 (2)
- February 2016 (3)
- November 2015 (5)
- October 2015 (3)
- September 2015 (6)
- August 2015 (4)
- June 2015 (2)
- April 2015 (5)
- March 2015 (7)
- February 2015 (3)
- January 2015 (3)
- November 2014 (1)
- October 2014 (4)
- September 2014 (2)
- August 2014 (2)
- July 2014 (2)
- June 2014 (7)
- April 2014 (9)
- February 2014 (5)
- December 2013 (3)
- November 2013 (2)
- October 2013 (5)
- September 2013 (2)
- August 2013 (9)
- July 2013 (3)
- June 2013 (5)
- May 2013 (2)
- April 2013 (11)
- March 2013 (7)
- February 2013 (8)
- January 2013 (15)
- December 2012 (7)
- May 2012 (5)
- March 2012 (1)
- February 2012 (2)
- January 2012 (1)
- September 2011 (2)
- August 2011 (5)
- July 2011 (1)
- June 2011 (4)
- March 2011 (14)
Meta
Monthly Archives: April 2014
A Tetris Clone in JavaScript
The JavaScript code below implements a simple clone of Tetris in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or you can play an online … Continue reading
Hashing with the SHA-256 Algorithm in JavaScript
The JavaScript code below displays a short message, hashes it with the SHA256 hash algorithm, and displays the result. To see it in action, copy it into an .html file and open that file in a web browser that runs … Continue reading
Extracting the Contents of a TAR File in JavaScript
The JavaScript code given below, when run, prompts the user to select a TAR file, displays its contents, and allows the user to download its component files if desired. To see the code in action, copy it into an .html … Continue reading
Posted in Uncategorized
Tagged archive, compression, file formats, JavaScript, programming, TAR
5 Comments
A Feistel Network Encryption Algorithm in JavaScript
The JavaScript code below implements a Feistel network algorithm, and uses it to encrypt and decrypt some data using a randomly generated key. To see the code in action, copy it into an .html file, and open that file in … Continue reading
Posted in Uncategorized
Tagged algorithms, encryption, Feistel network, JavaScript, programming
Leave a comment
Compressing Data with the LZ77 Algorithm in JavaScript
The JavaScript code below, when run, uses the LZ77 algorithm to compress and decompress some demo data, and displays the results on screen. The LZ77 algorithm was first described, as the name somewhat implies, in the year 1977 by the … Continue reading
Posted in Uncategorized
Tagged algorithms, compression, JavaScript, LZ77, programming
Leave a comment
Efficient Searching with AVL Trees
The JavaScript code below implements demonstrates an AVL tree, which is a kind of self-balancing binary search tree. The program creates a new tree, inserts a bunch of values into it, displays the tree, then deletes half of the values … Continue reading
Posted in Uncategorized
Tagged algorithms, binary search trees, JavaScript, programming, trees
Leave a comment
Compressing Data with the LZW Algorithm in JavaScript
The code below, when run, displays an interface that can be used to compress and decompress text with the LZW algorithm. To see it in action, copy it into an .html file and open that file in a web browser … Continue reading
Posted in Uncategorized
Tagged algorithms, compression, JavaScript, LZW, programming
Leave a comment
A 3D Maze Game in JavaScript
The code below implements a simple 3D maze game in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, to play an online version, visit … Continue reading
A Simple Ray Tracer in JavaScript
The code below implements a toy ray tracer in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an online version, visit http://thiscouldbebetter.neocities.org/raytracer.html. … Continue reading