GithubHelp home page GithubHelp logo

veaba / beike Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.37 MB

beike ,logo 都画好了,一个比较抽象性的小站,目前就想放一些诡异的**或者文档的思考。

HTML 52.51% JavaScript 34.95% TypeScript 2.81% SCSS 1.52% CSS 8.21%

beike's Introduction

beike

beike ,logo 都画好了,一个比较抽象性的小站,目前就想放一些诡异的**或者文档的思考。

添加typescript 支持

  • 如何让typescript 支持 dom 开发的js编译,支持import和export、require

datav.ai

/images/datav_demo.png

三角函数公式

triangle.jpg

基本函数 英文 缩写 表达式 语言描述
正弦函数 sine sin a/c ∠A的对边比斜边
余弦函数 cosine cos b/c ∠A的邻边比斜边
正切函数 tangent tan a/b ∠A的对边比邻边
余切函数 cotangent cot b/a ∠A的邻边比对边
正割函数 secant sec c/b ∠A的斜边比邻边
余割函数 cosecant csc c/a ∠A的斜边比对边

一份400x600,定位圆心坐标为(200,300),半径为60的黄金圆坐标点,逆时针坐标

起点坐标 终点坐标
(200, 360) 529, 179
(230, 351) (529, 179)
(251,330) (409, 57)
(260, 300) (260, 17)
(251, 270) (126, 52)
(230, 248) (39, 138)
(200, 240) (11, 240)
(170, 248) (33, 326)
(148, 270) (85, 378)
(140, 300) (140, 394)
(148, 330) (179, 384)
(170, 351) (197, 367)

常见角度关系

sin比cos 多90°(提前多90°)

角度 sinA cosA tanA
0 1
30° 0.5 0.866025
60° 0.866025 0.5
90° 1 0
120° 0.866025 -0.5
150° 0.5 -0.866025
180° 0 -1
210° -0.5 -0.866025
240° -0.866025 -0.5
270° -1 -0
300° -0.866025 0.5
330° -0.5 0.866025
360° -0 1
-0°
-30°
-45°
-60°
-90°
-120°
-150°
-180°
-210°
-240°
-270°
-300°
-330°
-360°

根据a/c 求A的角度

	/**
	 * @desc 求tan A
	 * */
	function tanGetAngle(value) {
		return Math.round(Math.atan(value) / (Math.PI / 180)* 1000000) / 1000000;
	}

beike's People

Contributors

veaba avatar

Watchers

 avatar

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.