跳到正文
RandNext
Esc

随机角度生成器

随机生成角度或弧度——用于几何练习、美术练习或游戏逻辑。

  • 在浏览器中生成
  • 公平的密码学随机
  • 一键全部复制

你的角度

在你的浏览器中生成。按空格键再生成一次。

随机角度 API

以 JSON 获取随机角度结果。接口只读,少量使用无需 API 密钥,并支持跨域请求。

GET/api/v1/tools/random-angle
curl https://randnext.com/api/v1/tools/random-angle?unit=deg&decimals=1&count=3

参数

参数类型作用(英文)默认值 / 允许的值
unitstringReturn angles in degrees or radians.默认:degdeg, rad
decimalsintegerNumber of digits after the decimal point.默认:00 到 6
countintegerNumber of results to return.默认:11 到 50
查看参数、响应和限制 →

你可能还喜欢

使用方法

  1. 1选择角度或弧度。
  2. 2设定小数位数。
  3. 3点“生成”。

常见问题

为什么从不出现 360°?

360° 和 0° 指向相同,所以范围是从 0° 到 360°(不含 360°)。

真的是随机的吗?

是的。数值来自浏览器的密码学安全随机源,每个可能的值机会都相同。