6
City Sunset V2 by KilledByAPixel | Dwitter
source link: https://www.dwitter.net/d/17507
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
City Sunset V2 by KilledByAPixel
function u(t) {
Feb 8, 2020 1:50 AM
}//
140/140
u(t) is called 60 times per second.
t: elapsed time in seconds.
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
S: Math.sin
C: Math.cos
T: Math.tan
R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK