Programming Demonstrations

Pixel art applet

| JS code can be viewed here

Interactive Color Grid

cycle

fast cycle

cascade

clear

Compound Interest Over Time - HTML table

Generates a table with periodic interest and accrued interest over time


initial principal (units of currency)

number of times interest is compounded per year

number of years


percent annual interest rate



Time Applet

current.date

current.time


time left until the end of the day...

hours.time
minutes.time
seconds.time

time that has passed since the beginning of the day...

hours.time
minutes.time
seconds.time

Gamepad Demo

plugin a gamepad controller (e.g. Playstation / XBox / Arcade Stick controller) to test user input from the game controller;

gamepad status, details, and input should display when the controller is plugged in and buttons are pressed

a demonstration video is available here: (https://fbacarisas.xyz/video/index.html#gamepad_demo)



Gamepad status: OFF

Button Input:



Input Sequence

infinitive verb conjugator - Spanish


Input a regular infinitive verb to get its conjugated forms (e.g. vivir, aprender, mejorar).

You can also use the "Get Verb Example" button to generate an example infinitive verb as well.


yo tu el/ella nosotros ellos
Present:
Preterit:
Future:

Age in Days


Find out the age in days by completing the fields below with a birthdate and then clicking on "calculate days."


How it works: the difference in the number of days is calculated between the input values and the current date. The year, month, and day fields accept numeric inputs.


year:
month:
day:



Adding Numbers

incorrect: 0



Temperature Range

Mode:



celsius farenheit

°C

°F

Running Speed Rate

kilometer mile

minutes seconds

distance (km)

LocalStorage Demo

Use localStorage to save data to a Storage object across browser sessions (like reloading the page or reopening the browser).


key: value:

Lottery Number Simulator

Winning Numbers:









Days Left Till

Find out how many days are left until the date listed in the table below. The cells indicate how many days until this year's date and next year's date (negative values indicate how many days passed since). Dates mostly reference United States federal holidays with a few others.



1-1


2-14


4-1


7-4


10-31


11-11


11-26


12-25


Timer

Timer with several features including start/stop/restart

: :


JS code can be viewed here

Stopwatch

Stopwatch with several features including recording time points and start/pause/restart

0 : 0 : 0 : 0



JS code can be viewed here

click Speed Test

try to click the button as fast as possible for 30 seconds.


clickcounter:

timer



five seconds:

ten seconds:

twenty seconds:

thirty seconds:

average clicks per second:

Utilities


Sample Calculator

Add Numbers




Multiply Numbers




Subtract Numbers




Divide Numbers





FizzBizz:

Here's a basic test for the fizzbizz challenge:


Cond. 1: consider an array of ints from 1 to 100

Cond. 2: int % 15 == 0 -> print "fizzbizz"

Cond. 3: int % 5 == 0 -> print "bizz"

Cond. 4: int % 3 == 0 -> print "fizz"

Cond. 5: anything else -> print the int



Reversing the String

Type in a String:

Factoring Calculator

Enter Number to Factor:

Visual Reaction Time Test


Instructions:

This program records visual reaction time when the user responds to the screen turning green.

Press the start button to begin the timer;
when the screen turns green, click the button again to record reaction time.




Random Color Generator

color