{"openapi":"3.1.0","info":{"title":"Curve Playground","description":"This tool visualizes how elliptic curve cryptography works by letting you interactively perform mathematical operations on curves and see different multiplication algorithms side-by-side.","version":"1.0"},"servers":[{"url":"https://dabbled.ai"}],"paths":{"/apps/curve-playground":{"get":{"operationId":"curvePlayground","summary":"This tool visualizes how elliptic curve cryptography works by letting you interactively perform mathematical operations on curves and see different multiplication algorithms side-by-side.","parameters":[{"name":"preset","in":"query","required":false,"description":"Preset curve","schema":{"type":"string","enum":["Starter: p=37, a=2, b=3","Tiny: p=13, a=1, b=1","Classroom: p=23, a=1, b=1","Wide: p=61, a=-1, b=3","Big picture: p=101, a=2, b=7","Singular (broken!): p=17, a=0, b=0"]}},{"name":"prime_p","in":"query","required":true,"description":"Prime p","schema":{"type":"number"}},{"name":"coefficient_a","in":"query","required":true,"description":"Coefficient a","schema":{"type":"number"}},{"name":"coefficient_b","in":"query","required":true,"description":"Coefficient b","schema":{"type":"number"}},{"name":"point_p_x","in":"query","required":false,"description":"Point P x-coordinate","schema":{"type":"number"}},{"name":"point_p_y","in":"query","required":false,"description":"Point P y-coordinate","schema":{"type":"number"}},{"name":"point_q_x","in":"query","required":false,"description":"Point Q x-coordinate","schema":{"type":"number"}},{"name":"point_q_y","in":"query","required":false,"description":"Point Q y-coordinate","schema":{"type":"number"}},{"name":"scalar_k","in":"query","required":false,"description":"Scalar k for multiplication","schema":{"type":"number"}},{"name":"show_formulas","in":"query","required":false,"description":"Show formulas","schema":{"type":"boolean"}},{"name":"animation_speed","in":"query","required":false,"description":"Animation speed","schema":{"type":"number"}},{"name":"montgomery_view","in":"query","required":false,"description":"Montgomery view (x-only)","schema":{"type":"boolean"}},{"name":"montgomery_a","in":"query","required":false,"description":"Montgomery multiplication A","schema":{"type":"number"}},{"name":"montgomery_b","in":"query","required":false,"description":"Montgomery multiplication B","schema":{"type":"number"}}],"responses":{"200":{"description":"Rendered app reflecting the given inputs."}}}}}}