惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

PCI Perspectives
PCI Perspectives
SecWiki News
SecWiki News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
N
News | PayPal Newsroom
Forbes - Security
Forbes - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
T
Troy Hunt's Blog
V
Vulnerabilities – Threatpost
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
K
Kaspersky official blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
A
About on SuperTechFans
T
Tenable Blog
B
Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Scott Helme
Scott Helme
Cloudbric
Cloudbric
IT之家
IT之家
P
Privacy & Cybersecurity Law Blog
博客园 - Franky
V2EX - 技术
V2EX - 技术
The Register - Security
The Register - Security
Latest news
Latest news
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
O
OpenAI News
Stack Overflow Blog
Stack Overflow Blog
量子位
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
T
Tailwind CSS Blog
GbyAI
GbyAI
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 司徒正美
Schneier on Security
Schneier on Security
美团技术团队
A
Arctic Wolf
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google Online Security Blog
Google Online Security Blog
F
Full Disclosure
博客园 - 【当耐特】
Y
Y Combinator Blog
Help Net Security
Help Net Security
S
Secure Thoughts
Jina AI
Jina AI

博客园 - 『小小菜鸟』

as3连接fms2时总是连接失败的解决办法 搜狗招聘FLASH开发工程师。 欢迎大家制作搜狗输入法flash皮肤。 flash develop错误Debugger startup error: System.TypeInitializationException的解决办法 移除flash中影片剪辑获得焦点的黄框 AS3发送http请求编码不对的解决方法 [转]关于flash中图片(jpg\png\gif)旋转后锯齿(模糊)问题 - 『小小菜鸟』 - 博客园 ShareObject存储相关 IE99正式版官方下载地址 IE6中CSS常见BUG全集及解决方案 Nifty Corners Cube 实现圆角 flash判断当前使用的浏览器类型 ie屏蔽flash弹出窗口问题的解决办法 IOS开发资源 流程,养成好习惯 as调试工具-OLOG paperversion3d材质。Papervision3D Essentials学习笔记(二) 学习一下papervision3D。Papervision3D Essentials学习笔记(一) phpMyAdmin超时时间修改方法。
记录一些常用的三角公式
『小小菜鸟』 · 2010-11-07 · via 博客园 - 『小小菜鸟』
 

// substitute mouseX, mouseY with the x, y point to rotate to
dx = mouseX - sprite.x;
dy = mouseY - sprite.y;
sprite.rotation = Math.atan2(dy, dx) * 180 / M
 
创建波形:
// assign value to x, y or other property of srite or movie clip,
// use as drawing coordinates, etc.
public function onEnterFrame(event:Event){
value = center + Math.sin(angle) * range;
angle += speed;
}
 
创建圆形:
// assign position to x and y of sprite or movie clip,
// use as drawing coordinates, etc.
public function onEnterFrame(event:Event){
xposition = centerX + Math.cos(angle) * radius
yposition = centerY + Math.sin(angle) * radius
angle += speed;
}