GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - asyncker/function-plotter-code-multi: Function Flotter with JS code multi-graphics (prime numbers, pi(x) and special function)

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
img
img
 
 
README.md
README.md
 
 
index.html
index.html
 
 
zeta-fast.js
zeta-fast.js
 
 

Repository files navigation

function-plotter-code-multi

Function Flotter with JS code multi-graphics (prime numbers, pi(x) and special function)

Create your multi 1d graphics!
https://asyncker.github.io/function-plotter-code-multi/index.html

Gamma waves:

for (let i = 0; i < 10.0; i += 0.05) {
  plot(x => cgamma(complex(x, i)).y);
}

Mandelbrot 1d biffurcation:

function realMandelbrot(c, n) {
  let z = 0;
  for (let i = 0; i < n; i++) {
    z = pow(z, 2) + c; //z = sin(z) + c;
  }
  return z;
}

for (let n = 20; n <= 100; n += 1) {
  plot(x => -realMandelbrot(x, n));
}

Elliptic curves:

for (let i = 0; i < 10.0; i += 0.05) {
  let ecolor = randomColor();
  plot(x => sqrt(pow(x, 3) - 2 * x + 2.0 / i), { color: ecolor });
  plot(x => -sqrt(pow(x, 3) - 2 * x + 2.0 / i), { color: ecolor });
}

Relu-curves symetry:

for (let i = 0; i < 10.0; i += 0.05) {
  let colorv = randomColor();
  plot(x => +relumin(pow(x, 3) - 2 * x + 2.0 / i), { color: colorv });
  plot(x => -relumin(pow(x, 3) - 2 * x + 2.0 / i), { color: colorv });
}

Relu-curves asymetry:

for (let i = 0; i < 10.0; i += 0.05) {
  let colorv = randomColor();
  plot(x => -relumax(pow(x, 3) - 2 * x + 2.0 / i), { color: colorv });
  plot(x => -relumin(pow(x, 3) - 2 * x + 2.0 / i), { color: colorv });
}

Prime waves:

primes = primes(10374);
for (let i = 0; i < primes.length; i++) {
  const p = primes[i];
  const f = (x) => x > p ? sin(x * (PI / p)) * p : 0;
  plot(x => f(x), { color: randomColor() });
}

About

Function Flotter with JS code multi-graphics (prime numbers, pi(x) and special function)

asyncker.github.io/function-plotter-code-multi/index.html

Topics

desmosdesmos-cloneefunctionmathmulti-functionplotter

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.