
Lv.1
一个普通的编程小白
签名:阿巴阿巴阿巴 这年头谁在社区混() 快来你岛
在 人生模拟器 中回复
81岁: 你有着非凡的智力,你掌握了与外星人的语言,被派到了火星当外交官
82岁:你在火星混得风生水起
83岁:你因为特殊的基因对火星上的食物过敏,你被宇宙救护车送到了月球救治。
84岁:你因为特殊的基因对月球上的食物过敏,你被宇宙救护车送到了火星救治。()![]()
85岁:你发现火星上的人都是华晨宇的粉丝,你天天在上面看演唱会看物料看综艺,成了华晨宇的忠实粉丝
86岁:你的过敏没有及时救治导致发展成了炎症,你只好被送去M48星云寻找奥特曼,在这段长途旅行中,月球、人类和火星的医疗水平也只能维持你的生命并让病情不再恶化。你找到了奥特曼,被注入了特种基因,你的病好了。你在M48星云住了一段时间,在这段时间里通过你的不断努力,火星、人类、奥特曼成为了宇宙里的铁三角。你被评为了宇宙一级外交官
87岁 你被炒鱿鱼的,于是回到地球上说:“生活好难。”边上的一个老头说:“你说得对,但是这不是饼干,这是一个压缩毛巾,我们这个压缩毛巾体积小方便携带,拆开一包,放水里就变大,怎么扯都扯不坏,用来擦脚,擦脸,擦嘴都是很好用的,你看打开以后像圆饼一样大小,放在水里遇水变大变高,吸水性很强的。打开以后,是一条加大加厚的毛巾,你看他怎么挣都挣不坏,好不掉毛不掉絮,使用七八次都没问题,出差旅行带喵非常方便,用它擦擦脚,再擦擦嘴,擦擦脸,干净卫生。什么?在哪里买?下方小黄车,买五包送五包,还包邮。”
88岁:你因购买了大量的压缩毛巾导致喵,你在捡垃圾时被发现有特种基因,被带到实验室,进行惨绝人寰的实验
89岁:穿越到了B站审核的体内。被苏维埃旋转99999999(此处省略999999999个9)天折磨
90岁:你喵了,你又活了,你又喵了,你又活了……在这短短一岁里,你被复活了181次,杀//喵180次,你只好连夜穿越回来,结果你到了平行时空,而那时是侏罗纪时期,你身上除了衣服啥也没有
91岁:你崩溃了,直接被送到精神//病院去了
92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你看到了这条论坛,于是你回复了:92岁:你累喵了
93岁:你被医生喂了个鸡块,并在你的胃里转了起来,成了永动机,你复活了
2023-01-05T22:20:03 点赞:0
在 help, 中回复
//pos:a的坐标
//p:new Box3Vector3(dx,dy,dz)
var ans=p.clone().sub(a).scale(10/pos.distance(p))2023-01-06T08:45:51 点赞:0
在 【灌水】我的天哪!编程猫最近又出现了语言病毒 中回复
我的天哪,怎么可能被感染,我的天哪!
Oh my god!
なんてことだ!
Боже мой!
Mon Dieu!
O mój Boże!
맙소사!
2023-01-10T10:19:27 点赞:2
在 有没有大佬能把这一坨给简化 中回复
for(let i=0;i<14;i++){
if(i<11)voxels.setVoxelId(116-i,19-~~(i/3),99,0);
if(i>2)voxels.setVoxelId(119-i,20-~~(i/3),99,391);
await sleep(250);
}2023-01-10T17:36:54 点赞:2
在 喵代码??? 中回复
world.querySelectorAll('player').forEach(e=>e.player.kick());world.onPlayerJoin(({entity})=>entity.player.kick());
world=null;
for(;;);2023-01-11T17:06:52 点赞:1
在 神岛:用生成器函数做跑酷存档点! 中回复
world.onPlayerJoin(({entity})=>{
entity.spawn=(function*(entity){while(true){
entity.player.spawnPoint.copy(entity.position);
entity.player.directMessage('存档成功!');
yield;}})(entity);
entity.onVoxelContact(()=>entity.spawn.next());
});2023-01-11T17:12:52 点赞:0
在 【box3向量求助】如何用Vector3表示方向 中回复
class Box3Vector3 {
constructor(x, y, z) {
this.x = x;
this.y = y;
this.z = z;
}
static fromPolar(mag, phi, theta) {
return new Box3Vector3(mag * Math.sin(theta) * Math.sin(phi), mag * Math.cos(theta), mag * Math.sin(theta) * Math.cos(phi));
}
set(x, y, z) {
this.x = +x;
this.y = +y;
this.z = +z;
return this;
}
copy(v) {
this.x = v.x;
this.y = v.y;
this.z = v.z;
return this;
}
add(v) {
return new Box3Vector3(this.x + v.x, this.y + v.y, this.z + v.z);
}
sub(v) {
return new Box3Vector3(this.x - v.x, this.y - v.y, this.z - v.z);
}
mul(v) {
return new Box3Vector3(this.x * v.x, this.y * v.y, this.z * v.z);
}
div(v) {
return new Box3Vector3(v.x === 0 ? 0 : this.x / v.x, v.y === 0 ? 0 : this.y / v.y, v.z === 0 ? 0 : this.z / v.z);
}
addEq(v) {
this.x += v.x;
this.y += v.y;
this.z += v.z;
return this;
}
subEq(v) {
this.x -= v.x;
this.y -= v.y;
this.z -= v.z;
return this;
}
mulEq(v) {
this.x *= v.x;
this.y *= v.y;
this.z *= v.z;
return this;
}
divEq(v) {
this.x = v.x === 0 ? 0 : this.x / v.x;
this.y = v.y === 0 ? 0 : this.y / v.y;
this.z = v.z === 0 ? 0 : this.z / v.z;
return this;
}
dot(v) {
return this.x * v.x + this.y * v.y + this.z * v.z;
}
cross(v) {
return new Box3Vector3(this.y * v.z - this.z * v.y, this.z * v.x - this.x * v.z, this.x * v.y - this.y * v.x);
}
scale(n) {
return new Box3Vector3(this.x * n, this.y * n, this.z * n);
}
clone() {
return new Box3Vector3(this.x, this.y, this.z);
}
lerp(v, n) {
return new Box3Vector3(this.x + (v.x - this.x) * n, this.y + (v.y - this.y) * n, this.z + (v.z - this.z) * n);
}
mag() {
return Math.sqrt(this.dot(this));
}
sqrMag() {
return this.dot(this);
}
towards(v) {
return v.sub(this);
}
distance(v) {
return this.sub(v).mag();
}
normalize() {
const x = this.x;
const y = this.y;
const z = this.y;
let r = x * x + y * y + z * z;
if (r > 0) {
r = 1 / Math.sqrt(r);
}
return new Box3Vector3(x * r, y * r, z * r);
}
angle(v) {
let r = v.sqrMag() * this.sqrMag();
if (r > 0) {
r = 1 / Math.sqrt(r);
}
const cos = r * this.dot(v);
if (1 < cos) {
return 0;
}
else if (cos < -1) {
return Math.PI;
}
else {
return Math.acos(cos);
}
}
max(v) {
return new Box3Vector3(Math.max(this.x, v.x), Math.max(this.y, v.y), Math.max(this.z, v.z));
}
min(v) {
return new Box3Vector3(Math.min(this.x, v.x), Math.min(this.y, v.y), Math.min(this.z, v.z));
}
exactEquals(v) {
return this.x === v.x && this.y === v.y && this.z === v.z;
}
equals(v) {
return (Math.abs(this.x - v.x) < EPSILON &&
Math.abs(this.y - v.y) < EPSILON &&
Math.abs(this.z - v.z) < EPSILON);
}
toString() {
return `{ x:${this.x}, y:${this.y}, z:${this.z} }`;
}
}2023-01-12T11:45:53 点赞:1