V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zerision  ›  全部回复第 1 页 / 共 1 页
回复总数  19
2021-07-19 09:45:09 +08:00
回复了 Zink99 创建的主题 游戏 永劫无间求队友
@Zink99 俺也一样
2020-07-27 20:44:49 +08:00
回复了 zerision 创建的主题 程序员 无聊做了一个联通扫号工具,支持在线下单
@scukmh 是的
2020-07-27 16:46:22 +08:00
回复了 zerision 创建的主题 程序员 无聊做了一个联通扫号工具,支持在线下单
IP 用完了,测试结束
2020-07-27 16:30:32 +08:00
回复了 zerision 创建的主题 程序员 无聊做了一个联通扫号工具,支持在线下单
@FanError 联通那个链接广东只有中山的,换成其它城市的扫描虽然可以扫出来,但是下单会报错,可能是他们的一个 BUG
2020-07-27 16:11:04 +08:00
回复了 zerision 创建的主题 程序员 无聊做了一个联通扫号工具,支持在线下单
@xiaoming1992 刚刚 IP 用完了- -||,用得真快
2020-07-27 16:03:34 +08:00
回复了 zerision 创建的主题 程序员 无聊做了一个联通扫号工具,支持在线下单
@koor IP 快到期了,那个功能还没做,其实也是写个提交正则表达式的框
已经全额退回了,果然还是吃瓜观众多点,真正给建议是少数,但还是很感激那些给建议的网友
@Tink 对,就是自己手贱
@keepeye 是的,不敢用国外的了
@mikeguan 我都交钱了他能找我麻烦?
@Telegram 怎么试的,求教程,我在他页面上找不到客服
@mikeguan 不是每个人看那么仔细的,都是为了薅羊毛,谁在意这些,而且也没说流量会收费,到了一定的流量最起码也要帮你把服务器停掉啊
2020-04-29 17:17:42 +08:00
回复了 qanniu 创建的主题 分享发现 remote desktop 突破公司限制的思路
teamviewer+翻墙工具全局代理
2020-03-25 16:17:20 +08:00
回复了 zerision 创建的主题 分享创造 老夫的毕生所学都在这里了
@star7th 看个人兴趣吧,有人喜欢有人不喜欢
2020-03-25 15:59:05 +08:00
回复了 zerision 创建的主题 分享创造 老夫的毕生所学都在这里了
@liqingcan js 代码发出来了
2020-03-25 15:54:36 +08:00
回复了 zerision 创建的主题 分享创造 老夫的毕生所学都在这里了
@dovme 代码:
// Click Effect
function clickEffect() {
let balls = [];
let longPressed = false;
let longPress;
let multiplier = 0;
let width, height;
let origin;
let normal;
let ctx;
const colours = ["#F73859", "#14FFEC", "#00E0FF", "#FF99FE", "#FAF15D"];
const canvas = document.createElement("canvas");
document.body.appendChild(canvas);
canvas.setAttribute("style", "width: 100%; height: 100%; top: 0; left: 0; z-index: 99999; position: fixed; pointer-events: none;");
const pointer = document.createElement("span");
pointer.classList.add("pointer");
document.body.appendChild(pointer);

if (canvas.getContext && window.addEventListener) {
ctx = canvas.getContext("2d");
updateSize();
window.addEventListener('resize', updateSize, false);
loop();
window.addEventListener("mousedown", function(e) {
pushBalls(randBetween(10, 20), e.clientX, e.clientY);
document.body.classList.add("is-pressed");
longPress = setTimeout(function() {
document.body.classList.add("is-longpress");
longPressed = true;
}, 500);
}, false);
window.addEventListener("mouseup", function(e) {
clearInterval(longPress);
if (longPressed == true) {
document.body.classList.remove("is-longpress");
pushBalls(randBetween(50 + Math.ceil(multiplier), 100 + Math.ceil(multiplier)), e.clientX, e.clientY);
longPressed = false;
}
document.body.classList.remove("is-pressed");
}, false);
window.addEventListener("mousemove", function(e) {
let x = e.clientX;
let y = e.clientY;
pointer.style.top = y + "px";
pointer.style.left = x + "px";
}, false);
} else {
console.log("canvas or addEventListener is unsupported!");
}


function updateSize() {
canvas.width = window.innerWidth * 2;
canvas.height = window.innerHeight * 2;
canvas.style.width = window.innerWidth + 'px';
canvas.style.height = window.innerHeight + 'px';
ctx.scale(2, 2);
width = (canvas.width = window.innerWidth);
height = (canvas.height = window.innerHeight);
origin = {
x: width / 2,
y: height / 2
};
normal = {
x: width / 2,
y: height / 2
};
}
class Ball {
constructor(x = origin.x, y = origin.y) {
this.x = x;
this.y = y;
this.angle = Math.PI * 2 * Math.random();
if (longPressed == true) {
this.multiplier = randBetween(14 + multiplier, 15 + multiplier);
} else {
this.multiplier = randBetween(6, 12);
}
this.vx = (this.multiplier + Math.random() * 0.5) * Math.cos(this.angle);
this.vy = (this.multiplier + Math.random() * 0.5) * Math.sin(this.angle);
this.r = randBetween(8, 12) + 3 * Math.random();
this.color = colours[Math.floor(Math.random() * colours.length)];
}
update() {
this.x += this.vx - normal.x;
this.y += this.vy - normal.y;
normal.x = -2 / window.innerWidth * Math.sin(this.angle);
normal.y = -2 / window.innerHeight * Math.cos(this.angle);
this.r -= 0.3;
this.vx *= 0.9;
this.vy *= 0.9;
}
}

function pushBalls(count = 1, x = origin.x, y = origin.y) {
for (let i = 0; i < count; i++) {
balls.push(new Ball(x, y));
}
}

function randBetween(min, max) {
return Math.floor(Math.random() * max) + min;
}

function loop() {
ctx.fillStyle = "rgba(255, 255, 255, 0)";
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (let i = 0; i < balls.length; i++) {
let b = balls[i];
if (b.r < 0) continue;
ctx.fillStyle = b.color;
ctx.beginPath();
ctx.arc(b.x, b.y, b.r, 0, Math.PI * 2, false);
ctx.fill();
b.update();
}
if (longPressed == true) {
multiplier += 0.2;
} else if (!longPressed && multiplier >= 0) {
multiplier -= 0.4;
}
removeBall();
requestAnimationFrame(loop);
}

function removeBall() {
for (let i = 0; i < balls.length; i++) {
let b = balls[i];
if (b.x + b.r < 0 || b.x - b.r > width || b.y + b.r < 0 || b.y - b.r > height || b.r < 0) {
balls.splice(i, 1);
}
}
}
}
clickEffect()//调用
// End Click Effect
2020-03-25 15:52:25 +08:00
回复了 zerision 创建的主题 分享创造 老夫的毕生所学都在这里了
影视的动漫是我 B 站的视频,没啥人看的
2020-03-02 09:41:52 +08:00
回复了 manami 创建的主题 天黑以后 20200302 午夜俱乐部
汪汪汪汪汪汪汪,汪汪汪汪汪汪汪
软件能提高出货率,那我的显卡吃斋的啊?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3013 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 15:03 · PVG 23:03 · LAX 08:03 · JFK 11:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.