网站首页 站内搜索

搜索结果

查询Tags标签: angle,共有 57条记录
  • python struct unpack

    python struct unpackmsg = self.serverSocket.recv(1024) # 接受服务端消息 AngleSensorST,y_Angle_deg,x_Angle_deg,Z_Angle_deg,AngleDeviceTEMP,WatchdogCount=struct.unpack("!hffffh", msg) print(AngleSensorST,y_Angle_deg,x_Angle_deg,Z_Angle_deg,…

    2022/9/7 14:54:58 人评论 次浏览
  • vue.js3:拖动旋转div(vue@3.2.37)

    一,js代码:<template> <div style="width:100%;height:100vh;" @mousemove="onRotate" @mouseup="onUp"><div ref="target" style="width:300px;height:100px;position: relative;" ><div style…

    2022/8/25 23:27:58 人评论 次浏览
  • [Google] LeetCode 1610 Maximum Number of Visible Points 极角排序

    You are given an array points, an integer angle, and your location, where location = [posx, posy] and points[i] = [xi, yi] both denote integral coordinates on the X-Y plane. Initially, you are facing directly east from your position. You cannot move f…

    2022/8/23 6:52:48 人评论 次浏览
  • grade, gradian, gradient

    In trigonometry [三角学], the gradian [百分度], also known as the gon (from Ancient Greek: γωνία, romanized: gōna, lit. angle), grad, or grade, is a unit of measurement of an angle, defined as one hundredth of the right angle. In other words, th…

    2022/8/5 23:25:15 人评论 次浏览
  • 实验8

    11 from turtle import *2 3 def square(size=50, rgb=orange):4 pencolor(rgb)5 for i in range(4):6 fd(size)7 left(90)8 9 def main(): 10 setup(800,600) 11 speed(0) 12 13 n=10 14 for i in range (n): 15 squar…

    2022/6/13 23:22:12 人评论 次浏览
  • 20212115朱时鸿 《python程序设计》实验四报告

    课程:《Python程序设计》班级: 2121姓名: 朱时鸿学号:20212115实验教师:王志强实验日期:2022年5月28日必修/选修: 公选课1.实验内容 Python综合应用:爬虫、数据处理、可视化、机器学习、神经网络、游戏、网络安全等。注:在华为ECS服务器(OpenOuler系统)和物理机(…

    2022/5/29 1:19:48 人评论 次浏览
  • C语言求两直线夹角

    #include<math.h> #include<stdio.h> #define PI 3.14 typedef struct Point {double x;double y; }Point;typedef struct Line {Point a;Point b; }Line;double angle(Line l1,Line l2) {double k1,k2;double angle;k1=(l1.a.y-l1.b.y)/(l1.a.x-l1.b.x);k2=(…

    2022/4/1 23:19:44 人评论 次浏览
  • 2D/3D——transform

    transform 定义旋转的 语法: .mydiv{transform: rotate3d(30deg, 45deg, 100deg); }值 描述none 定义不进行转换。translate(x,y) 定义 2D 平移。(10px, 10px)就是把元素右移10px,再下移10pxtranslate3d(x,y,z) 定义 3D 平移。(3个值一个不能少)要用这个z值必须要先定…

    2022/3/11 23:19:18 人评论 次浏览
  • 健身也内卷?这届网友用 Python 掌握了做标准俯卧撑的秘诀

    编者按:自己在家锻炼时,我们很难知道自己的动作是否标准。本文作者用Python写了一个可以检测俯卧撑动作是否标准的程序,一起来看看他是怎么做的。 原文链接:https://aryanvij02.medium.com/push-ups-with-python-mediapipe-open-a544bd9b4351 GitHub 地址:https://gi…

    2022/2/21 20:35:56 人评论 次浏览
  • 每日一题——2022/2/8

    半 AFO 的 whker 了 所以每天来一道几何活动脑子如图,\(AM=MB,CM=MD,PC\bot AC,PD\bot BD,PQ\bot AB\),求证:\(\angle PQC=\angle PQD\) 思考:不难发现有两组四点共圆:\(D,P,Q,B\) 和 \(C,P,Q,A\),可以考虑将圆做出来,圆心分别是 \(AP,BP\) 的中点,然后 \(M\) 又是…

    2022/2/8 23:19:52 人评论 次浏览
  • 《向量》Unity 中自己实现Vector3.Angle函数

    先忽略所有的不合理条件。 Vector3 dir = Vector3.Cross(v1,v2); float self_angle = Mathf.Atan2(dir.magnitude,Vector3.Dot(v1,v2))*Mathf.Rad2Deg;这个就是Vector3.Angle的实现方法。 解释一下:首先v1,v2都是方向向量,所以绝对值都是1,叉乘的结果值的长度就是sin角…

    2022/1/31 23:11:33 人评论 次浏览
  • GRE数学入门级词汇

    1.Arithmetic 算术integer整数 positive number正数 negative number负数 odd number奇数 even number偶数 prime number质数 composite number合数 multiple倍数 factor/divisor因数 least common multiple最小公倍数 greatest common factor/divisor最大公约数 product乘…

    2022/1/20 23:22:21 人评论 次浏览
  • GRE数学入门级词汇

    1.Arithmetic 算术integer整数 positive number正数 negative number负数 odd number奇数 even number偶数 prime number质数 composite number合数 multiple倍数 factor/divisor因数 least common multiple最小公倍数 greatest common factor/divisor最大公约数 product乘…

    2022/1/20 23:22:21 人评论 次浏览
  • js框架jquery实现的幸运大转盘抽奖程序代码,兼容多种浏览器(Internet Explorer 6.0+ 、Firefox 2.0 、Safari 3 、Opera 9 、Chrome)

    博客目录 js框架jquery实现的幸运大转盘抽奖程序代码实现功能截图系统功能使用技术代码写在最后js框架jquery实现的幸运大转盘抽奖程序代码 本系统实现了一个幸运转盘抽奖,兼容多种浏览器(支持Internet Explorer 6.0+ 、Firefox 2.0 、Safari 3 、Opera 9 、Google Chro…

    2022/1/20 1:51:32 人评论 次浏览
  • js框架jquery实现的幸运大转盘抽奖程序代码,兼容多种浏览器(Internet Explorer 6.0+ 、Firefox 2.0 、Safari 3 、Opera 9 、Chrome)

    博客目录 js框架jquery实现的幸运大转盘抽奖程序代码实现功能截图系统功能使用技术代码写在最后js框架jquery实现的幸运大转盘抽奖程序代码 本系统实现了一个幸运转盘抽奖,兼容多种浏览器(支持Internet Explorer 6.0+ 、Firefox 2.0 、Safari 3 、Opera 9 、Google Chro…

    2022/1/20 1:51:32 人评论 次浏览
共57记录«上一页1234下一页»
扫一扫关注最新编程教程