Skip to content

Instantly share code, notes, and snippets.

View nonlinearjunkie's full-sized avatar
👹
Stay Metal..Stay Brutal!

Suraj Joshi nonlinearjunkie

👹
Stay Metal..Stay Brutal!
View GitHub Profile
@gkhays
gkhays / DrawSineWave.html
Last active November 12, 2024 16:29
Oscillating sine wave, including the steps to figuring out how to plot a sine wave
<!DOCTYPE html>
<html>
<head>
<title>Sine Wave</title>
<script type="text/javascript">
function showAxes(ctx,axes) {
var width = ctx.canvas.width;
var height = ctx.canvas.height;
var xMin = 0;