Konva: get corners coordinate of a rotated rectangle

How can i get corners coordinate of a rotated rectangle (with center of rectangle as pivot) ? i already tried all of the solution from the link below but seems haven’t got any luck. Rotating a point about another point (2D) Find corners of a rotated rectangle given its center point and rotation https://gamedev.stackexchange.com/questions/86755/how-to-calculate-corner-positions-marks-of-a-rotated-tilted-rectangle here’s…

Details

ExoPlayer rotate in FullScreen

I want to rotate my player when device is rotating. I use this for making my player full screen getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_FULLSCREEN |View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY |View.SYSTEM_UI_FLAG_HIDE_NAVIGATION); I try setRotation(90) but my view lose size,from corners ! When i try just change my device orientation for making full screen, player first player draw half of view,after it go to normal…

Details

Error sending erc20 tokens

I try to send erc20 tokens in this way var Tx = require(‘ethereumjs-tx’); var Web3 = require(‘web3’) var web3 = new Web3(new Web3.providers.HttpProvider(‘https://mainnet.infura.io/v3/2a7d7b55629d44119f069a9239ea96fd’)) // set token source, destination and amount var myAddress = “” var toAddress = “” var amount = web3.utils.toHex(1e16) // get transaction count, later will used as nonce web3.eth.getTransactionCount(myAddress).then(function(v){console.log(v); count = v})…

Details