Echart polar coordinates, azimuth and distance diagram, icon symbol rotation and size, color gradient

Background: Participating in an interactive chart project, the customer had a need for polar coordinate comparison to display different types of indicator data in different directions and distances. Specifically, the attribute fields are: Source, distance, orientation, ID, rotation angle, size Let’s look at the renderings first: Technical points: Legend description: The distance is the radial […]

android ANativeWindow rotation rendering angle

android ANativeWindow rotation rendering angle MediaCodec rotation angle reference videoExtractor opens an angled video file mediaFormat.getInteger(MediaFormat.KEY_ROTATION); gets the angle MediaFormat mediaFormat = videoExtractor.getTrackFormat(j); String mime = mediaFormat.getString(MediaFormat.KEY_MIME); if (mime.startsWith(KEY_VIDEO)) {//Match the track corresponding to the video videoExtractor.selectTrack(j);//Select the track corresponding to the video long duration = mediaFormat.getLong(MediaFormat.KEY_DURATION); int width = mediaFormat.getInteger(MediaFormat.KEY_WIDTH); int height = mediaFormat.getInteger(MediaFormat.KEY_HEIGHT); […]

Euler angles (roll angle, pitch angle, yaw angle), rotation matrix, quaternion conversion and solution to universal joint deadlock

1. Overview The description method of the pose (position and direction) of an object is generally represented by two coordinate systems. One is the world coordinate system or the ground coordinate system. Here I call it the ground coordinate system, which belongs to the reference coordinate system; the other is its own Coordinate system, it […]

CSS Special Effect 001: Put the mouse on the div to achieve effects such as rotation, amplification, and movement.

100 common CSS examples + column directory This column records frequently used CSS examples and techniques, mainly including CSS layout, CSS special effects, and CSS lace information. Among them, CSS layout mainly lists some commonly used CSS layout information points, CSS special effects mainly include some animation examples, and CSS lace describes some CSS-related libraries, […]

Rotation Matrix – Mathematical Theory

Table of Contents Overview 1. Fixed rotation (Fix Angles) 2. Euler Angle 3. Summary of rotation matrix 4. Reference Overview The rotation matrix is a mathematical expression of posture, or generally speaking, the transformation matrix is an abstract mathematical variable. Its abstraction lies in the fact that when you see the data, you can’t judge […]

[C++] 4 rotation adjustments for AVL trees

Article directory premise 1. Structural definition of AVL tree 2. Insertion of AVL (Key Points) 1. The inserted node is on the left side of the higher left subtree (right single rotation) 2. The new node is inserted to the right of the higher right subtree (left-handed rotation) 3. The new node is inserted to […]

Rotation animation, requestAnimationFrame periodic rendering

The development of online games, product displays, and indoor roaming based on WebGL technology often involves animation. 1. Periodic rendering In order to achieve periodic rendering, you can use a method setInterval() of the browser global object window object. You can call this method window.setInterval(), you can also call setInterval() directly in function form. setInterval() […]

Three-dimensional transformation matrix practice – rotation, scaling, mirroring, cross-cutting, translation, and orthogonal projection of three-dimensional point clouds

1. Rotation matrix (right-handed coordinate system) Rotate around the x-axis Rotation matrix: The matrix on the right is the original coordinates of the point cloud, and the matrix on the left is the rotation matrix Visualization: Rotate 90 degrees around the x-axis Code: import vtk import numpy as np import math def pointPolydataCreate(pointCloud): points = […]

[Cambrian (2)] Media processing system: use of vgu video graphics unit, resize image (resize), cover (cover), operation display (osd), mosaic (mosaic), draw line (drawline), rotation ( rotate)

1 API situation of VGU library cnS32_t cnvguBeginJob(cnvguHandle_t *phHandle); – This function may start an image processing task, and its parameter may be a handle to the processing task. The return value may be an error code (S32_t is usually used for error codes) or a status code. cnS32_t cnvguCancelJob(cnvguHandle_t hHandle); – This function may […]

linux log rotation (logrotate)

Introduction logrotate is designed to simplify the management of systems that generate large amounts of log files. It allows automatic rotation, compression, deletion and mailing of log files. Each log file can be processed daily, weekly, monthly or when it becomes too large. Installation Taking centos7 or ubuntu20.04 as an example, the system has installed […]