Giter Site home page Giter Site logo

syncsynchalt / animated-curves Goto Github PK

View Code? Open in Web Editor NEW
117.0 4.0 9.0 1.63 MB

An animated visualization of elliptic curve cryptography

JavaScript 56.89% HTML 11.52% CSS 31.18% Makefile 0.18% Shell 0.23%
cryptography diffie-hellman elliptic-curves x25519 canvas2d requestanimationframe

animated-curves's People

Contributors

skaunov avatar syncsynchalt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

animated-curves's Issues

Zooming the website crashes the first graph

When zooming the website causes the first graph that's showing the point addition in Curve25519 to crash with the following error:

draw-25519.js?bustin=1655597213:17 Uncaught RangeError: The number 469.9999694824219 cannot be converted to a BigInt because it is not an integer
    at BigInt (<anonymous>)
    at preCalcValues (draw-25519.js?bustin=1655597213:17:20)
    at drawGrid (draw-25519.js?bustin=1655597213:118:18)
    at resetGraph (draw-25519.js?bustin=1655597213:108:5)
    at step (draw-25519.js?bustin=1655597213:345:21)

Clicking on the graph trying to pausing+restarting it gives the following additional error:

draw-25519.js?bustin=1655597213:17 Uncaught (in promise) RangeError: The number 469.9999694824219 cannot be converted to a BigInt because it is not an integer
    at BigInt (<anonymous>)
    at preCalcValues (draw-25519.js?bustin=1655597213:17:20)
    at addP (draw-25519.js?bustin=1655597213:228:18)
    at next (draw-25519.js?bustin=1655597213:383:19)
    at Module.runDemo (draw-25519.js?bustin=1655597213:395:11)
    at startDemo (page.js?bustin=1655597213:33:30)
    at ctx.canvas.onclick (common.js?bustin=1655597213:194:13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.