Trigonometric function formula
do the math by yourself
< hr > first calculate a set of parallel lines on the right and extend the lower parallel lines to intersect with the x-axis for convenient analysis. Get:
cos15 = the distance between the two parallel lines on the right / (y1-y2)
the same on the left
< hr >var distanceR = Math.acos (15 / 360 2 Math.PI) * (y2-y1)
trigonometric functions in js refer to https://developer.mozilla.org.
if there are no other restrictions, there are countless sets of parallel lines that meet the conditions, and the distance cannot be determined
.write a component by yourself: < len-carousel > when using: <len-carousel> <div v-for="(item,index) in 4" :key="index"> {{item}} < div> < len-carousel> how do I get the chil...
such as var map = { a: 1, b :2, c :3 } As a matter of fact, there is no map object for . I hope this map is a regular expression. How to write to realize the change from abc to 123 and how to find this regular expression with replac...
requirements: you can configure the background interface, configure the interaction mode, and drag and drop a parent system of the generation interface if you do not know, please recommend a portal or provide project ideas, or provide development ideas...
has been using react, to watch vue recently. It feels so easy to use keep-alive. before react data are managed by redux. When you get the data, you judge whether the length of the data is 0. If the length of the data is 0, you can get it if it is 0, an...
scenarios are as follows: I wrote the code related to the end touch event, which determines whether to use the touch event or the mouse event according to ua and ( touchstart in window)). but when testing jest, the default ua is PC. How to chan...
1, the effect you want to achieve 2, the code is as follows: app.title = World population-bar chart ; option = { title: { }, tooltip: { trigger: axis , axisPointer: { type: shadow } }, legend: { }, grid: { left:...
can it be done simply through his api (requireFailure,recgnizeWith, etc.)? here is an example I wrote. Please help me improve the above requirements https: codepen.io russell201.. if it is more complicated, I think it can also be judged by the isF...
< H1 > does JSX have a template tag similar to vue? < H1 >...