Generates the Fibonacci Sequence in a Web Worker.
A Pen by Andrew Mitchell Barfield on CodePen.
# Here's a simple implementation of Conway's Game of Life in Python using the numpy | |
# library for managing the grid and matplotlib for visualizing the evolution of the | |
# cells. If you haven't installed these libraries yet, you can do so using pip: | |
# pip install numpy matplotlib | |
# Conway's Game of Life Implementation | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation |
# Binaural Beats Generator | |
# | |
# Streamlit applet to generate binaural beats. | |
# User can set Duration (seconds), Carrier Frequency (Hz), and Beat Frequency (Hz). | |
# Generated WAV file can be downloaded from link below graphs. | |
# | |
import streamlit as st | |
import numpy as np | |
import scipy.io.wavfile | |
from scipy.signal import windows |
import requests | |
import json | |
WikiJSGraphQLAccessToken = "replace_with_your_token" | |
WikiJSGraphQLEndpoint = f"http://192.168.xx.xx:1234/graphql" | |
# Purge history older than 2 hours | |
# See: https://en.wikipedia.org/wiki/ISO_8601#Durations | |
GraphQLPagePurgeHistoryQuery = """mutation Page { |
#!/bin/bash | |
reset | |
# FFT bin size for a sample rate of 2,400,000 Hz: | |
# | |
# Bin Count Bin Width (Hz) Bin Width (kHz) | |
# 4 600,000.000 600.000 | |
# 8 300,000.000 300.000 | |
# 16 150,000.000 150.000 |
Generates the Fibonacci Sequence in a Web Worker.
A Pen by Andrew Mitchell Barfield on CodePen.
Calculates Pi to 5,000 digits using a Web Worker.
A Pen by Andrew Mitchell Barfield on CodePen.
Demonstration of the jQuery plug-in written by Keith Wood. This timer counts down until New Year's day of the following year.
A Pen by Andrew Mitchell Barfield on CodePen.
A console for the Web written in completely in JavaScript. The console supports Web versions of some Linux commands. This work is based, in part, on earlier work by Eric Bidelman.
A Pen by Andrew Mitchell Barfield on CodePen.
A console for the Web written in completely in JavaScript. The console supports Web versions of some Linux commands. This work is based, in part, on earlier work by Eric Bidelman.
A Pen by Andrew Mitchell Barfield on CodePen.
Displays image thumbnails in a centered, horizontally flowing gallery.
A Pen by Andrew Mitchell Barfield on CodePen.