GitXplorerGitXplorer
j

wasmGraph5

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
f0db3acf088adbd43643907ee5310a8d3e720a01

Added brackets to the acceptable input characters list

jjustinclift committed 6 years ago
Verified
11b4327c3e619aaf47da4defe4d8284016ac2584

Add basic input validation

jjustinclift committed 6 years ago
Verified
c6606b71814bdbe991ba7dda5e00623e4dab7621

Graphing of equation given by user now works

jjustinclift committed 6 years ago
Verified
8557ca432149e74b56ba800263d199db0356ddba

Added initial working callback stub for the Graph it button

jjustinclift committed 6 years ago
Verified
04b88d055e6c0c75e0ef81d471da233430b97fdb

Added initial HTML tags to support user input of an equation

jjustinclift committed 6 years ago
Verified
b14ba625438d77913b0ee9075c5c923f0a97e308

Strip embedded multiplication symbols

jjustinclift committed 6 years ago

README

The README file for this repository.

Another simple example using Go Wasm with the HTML5 Canvas (2D)

Online demo: https://justinclift.github.io/wasmGraph5/

This renders points of a basic 2D equation, and it's first derivative, onto the canvas. It uses an external library for doing the math, which seems to both bloat the resulting .wasm file, and slow things down to an extreme level. Previously this demo loaded in under a second, now it's taking 10-15+ seconds after loading to start. 😦

Use the wasd, arrow, and numpad keys (including + and -) to rotate the graph around the origin. Use the mouse wheel to zoom in and out.

The code for this started from https://github.com/stdiopt/gowasm-experiments, and has been fairly radically reworked from there. 😄