Skip to content
🤔prompts chat🧠
🔍
question:function hcyl(bottom, height, radius, id) { let radsq = radius * radius let innerRadsq = (radius - 1.2) * (radius - 1.2) height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x * x + z * z if (d < radsq && d >= innerRadsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function cyl(bottom, height, radius, id) { let radsq = radius * radius height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x * x + z * z if (d < radsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function cube(bottom, height, radius, id) { let radsq = radius * radius height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x + z if (d < radsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function sphereoid(w, h, d, id) { let w2 = w * w let h2 = h * h let d2 = d * d let w3 = (w - 1.5) * (w - 1.5) let h3 = (h - 1.5) * (h - 1.5) let d3 = (d - 1.5) * (d - 1.5) for (let y = -h; y < h; y++) { for (let x = -w; x <= w; x++) { for (let z = -d; z <= d; z++) { let n = x * x / w2 + y * y / h2 + z * z / d2 let n2 = x * x / w3 + y * y / h3 + z * z / d3 if (n < 1 && n2 >= 1) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function sleep(ms) { return new Promise(resolve => setTimeout(() => resolve(), ms)) } async function asphereoid(w, h, d, id) { let px = p2.x let py = p2.y let pz = p2.z let w2 = w * w let h2 = h * h let d2 = d * d let w3 = (w - 1.5) * (w - 1.5) let h3 = (h - 1.5) * (h - 1.5) let d3 = (d - 1.5) * (d - 1.5) for (let y = -h; y < h; y++) { for (let x = -w; x <= w; x++) { for (let z = -d; z <= d; z++) { let n = x * x / w2 + y * y / h2 + z * z / d2 let n2 = x * x / w3 + y * y / h3 + z * z / d3 if (n < 1 && n2 >= 1) { world.setBlock(px + x, py + y, pz + z, id) await sleep(10) } } } } } function line(x1, y1, z1, x2, y2, z2, id) { let dx = Math.abs(x2 - x1); let dy = Math.abs(y2 - y1); let dz = Math.abs(z2 - z1); let sx = (x1 < x2) ? 1 : -1; let sy = (y1 < y2) ? 1 : -1; let sz = (z1 < z2) ? 1 : -1; let err1 = dx - dy; let err2 = dx - dz; let err3 = dy - dz; while (true) { world.setBlock(x1, y1, z1, id); if (x1 === x2 && y1 === y2 && z1 === z2) break; let e2 = 2 * err1; let e3 = 2 * err2; let e4 = 2 * err3; if (e2 > -dy) { err1 -= dy; err2 -= dz; x1 += sx; } if (e2 < dx) { err1 += dx; err3 -= dz; y1 += sy; } if (e3 > -dz) { err2 += dy; err3 += dx; z1 += sz; } } } function cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l) { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + y, dz + z, block); } } } } function duplicateBlock(sx, sy, sz, dx, dy, dz, w, h, l, offsetX, offsetY, offsetZ, num) { for (let i = 0; i < num; i++) { cloneBlock(sx, sy, sz, dx + offsetX * i, dy + offsetY * i, dz + offsetZ * i, w, h, l); } } function rotateBlock(sx, sy, sz, dx, dy, dz, w, h, l, angle) { let rad = angle * (Math.PI / 180); let sin = Math.sin(rad); let cos = Math.cos(rad); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let nx = Math.round(x * cos - z * sin); let nz = Math.round(x * sin + z * cos); let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + nx, dy + y, dz + nz, block); } } } } function fillBlock(sx, sy, sz, dx, dy, dz, id) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(startX + x, startY + y, startZ + z, id); } } } } function moveBlock(sx, sy, sz, dx, dy, dz, w, h, l) { cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l); fillBlock(sx, sy, sz, sx + w - 1, sy + h - 1, sz + l - 1, 0); } function paintBlock(sx, sy, sz, dx, dy, dz, w, h, l, colorId) { cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(dx + x, dy + y, dz + z, colorId); } } } } function replaceBlock(sx, sy, sz, dx, dy, dz, id, newId) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { if (world.getBlock(startX + x, startY + y, startZ + z) === id) { world.setBlock(startX + x, startY + y, startZ + z, newId); } } } } } function mirrorBlock(sx, sy, sz, dx, dy, dz, w, h, l, axis) { if (axis === "x") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + w - x - 1, dy + y, dz + z, block); } } } } else if (axis === "y") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + h - y - 1, dz + z, block); } } } } else if (axis === "z") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + y, dz + l - z - 1, block); } } } } } function clearBlock(sx, sy, sz, dx, dy, dz) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(startX + x, startY + y, startZ + z, 0); } } } } function fillHeightBlock(startY, endY, id) (

answer:for (let y = startY; y <= endY; y++) { world.setBlock(p2.x, y, p2.z, id); }

question:function hcyl(bottom, height, radius, id) { let radsq = radius * radius let innerRadsq = (radius - 1.2) * (radius - 1.2) height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x * x + z * z if (d < radsq && d >= innerRadsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function cyl(bottom, height, radius, id) { let radsq = radius * radius height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x * x + z * z if (d < radsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function cube(bottom, height, radius, id) { let radsq = radius * radius height += bottom for (let x = -radius; x <= radius; x++) { for (let y = bottom; y < height; y++) { for (let z = -radius; z <= radius; z++) { let d = x + z if (d < radsq) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function sphereoid(w, h, d, id) { let w2 = w * w let h2 = h * h let d2 = d * d let w3 = (w - 1.5) * (w - 1.5) let h3 = (h - 1.5) * (h - 1.5) let d3 = (d - 1.5) * (d - 1.5) for (let y = -h; y < h; y++) { for (let x = -w; x <= w; x++) { for (let z = -d; z <= d; z++) { let n = x * x / w2 + y * y / h2 + z * z / d2 let n2 = x * x / w3 + y * y / h3 + z * z / d3 if (n < 1 && n2 >= 1) { world.setBlock(p2.x + x, p2.y + y, p2.z + z, id) } } } } } function sleep(ms) { return new Promise(resolve => setTimeout(() => resolve(), ms)) } async function asphereoid(w, h, d, id) { let px = p2.x let py = p2.y let pz = p2.z let w2 = w * w let h2 = h * h let d2 = d * d let w3 = (w - 1.5) * (w - 1.5) let h3 = (h - 1.5) * (h - 1.5) let d3 = (d - 1.5) * (d - 1.5) for (let y = -h; y < h; y++) { for (let x = -w; x <= w; x++) { for (let z = -d; z <= d; z++) { let n = x * x / w2 + y * y / h2 + z * z / d2 let n2 = x * x / w3 + y * y / h3 + z * z / d3 if (n < 1 && n2 >= 1) { world.setBlock(px + x, py + y, pz + z, id) await sleep(10) } } } } } function line(x1, y1, z1, x2, y2, z2, id) { let dx = Math.abs(x2 - x1); let dy = Math.abs(y2 - y1); let dz = Math.abs(z2 - z1); let sx = (x1 < x2) ? 1 : -1; let sy = (y1 < y2) ? 1 : -1; let sz = (z1 < z2) ? 1 : -1; let err1 = dx - dy; let err2 = dx - dz; let err3 = dy - dz; while (true) { world.setBlock(x1, y1, z1, id); if (x1 === x2 && y1 === y2 && z1 === z2) break; let e2 = 2 * err1; let e3 = 2 * err2; let e4 = 2 * err3; if (e2 > -dy) { err1 -= dy; err2 -= dz; x1 += sx; } if (e2 < dx) { err1 += dx; err3 -= dz; y1 += sy; } if (e3 > -dz) { err2 += dy; err3 += dx; z1 += sz; } } } function cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l) { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + y, dz + z, block); } } } } function duplicateBlock(sx, sy, sz, dx, dy, dz, w, h, l, offsetX, offsetY, offsetZ, num) { for (let i = 0; i < num; i++) { cloneBlock(sx, sy, sz, dx + offsetX * i, dy + offsetY * i, dz + offsetZ * i, w, h, l); } } function rotateBlock(sx, sy, sz, dx, dy, dz, w, h, l, angle) { let rad = angle * (Math.PI / 180); let sin = Math.sin(rad); let cos = Math.cos(rad); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let nx = Math.round(x * cos - z * sin); let nz = Math.round(x * sin + z * cos); let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + nx, dy + y, dz + nz, block); } } } } function fillBlock(sx, sy, sz, dx, dy, dz, id) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(startX + x, startY + y, startZ + z, id); } } } } function moveBlock(sx, sy, sz, dx, dy, dz, w, h, l) { cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l); fillBlock(sx, sy, sz, sx + w - 1, sy + h - 1, sz + l - 1, 0); } function paintBlock(sx, sy, sz, dx, dy, dz, w, h, l, colorId) { cloneBlock(sx, sy, sz, dx, dy, dz, w, h, l); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(dx + x, dy + y, dz + z, colorId); } } } } function replaceBlock(sx, sy, sz, dx, dy, dz, id, newId) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { if (world.getBlock(startX + x, startY + y, startZ + z) === id) { world.setBlock(startX + x, startY + y, startZ + z, newId); } } } } } function mirrorBlock(sx, sy, sz, dx, dy, dz, w, h, l, axis) { if (axis === "x") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + w - x - 1, dy + y, dz + z, block); } } } } else if (axis === "y") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + h - y - 1, dz + z, block); } } } } else if (axis === "z") { for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { let block = world.getBlock(sx + x, sy + y, sz + z); world.setBlock(dx + x, dy + y, dz + l - z - 1, block); } } } } } function clearBlock(sx, sy, sz, dx, dy, dz) { let w = Math.abs(dx - sx) + 1; let h = Math.abs(dy - sy) + 1; let l = Math.abs(dz - sz) + 1; let startX = Math.min(sx, dx); let startY = Math.min(sy, dy); let startZ = Math.min(sz, dz); for (let x = 0; x < w; x++) { for (let y = 0; y < h; y++) { for (let z = 0; z < l; z++) { world.setBlock(startX + x, startY + y, startZ + z, 0); } } } } function fillHeightBlock(startY, endY, id) (

answer:for (let y = startY; y <= endY; y++) { for (let x = p.x - radius; x <= p.x + radius; x++) { for (let z = p.z - radius; z <= p.z + radius; z++) { world.setBlock(x, y, z, id) } } } }

question:How did Bill Clinton won a Grammy award?

answer:Bill Clinton won a Grammy Award for the category "Best Spoken Word Album" in 2005. He received this honor for his audiobook, "My Life," which is a memoir written and narrated by him. The Grammy Awards recognize outstanding achievements in the music industry, and the "Best Spoken Word Album" category is specifically for recordings of spoken material, such as audiobooks, poetry readings, and storytelling. As Clinton's memoir was well-received and garnered significant attention, it was acknowledged with a Grammy Award.

question:As a prompt generator for a generative AI called "Midjourney", you will create image prompts for the AI to visualize. I will give you a concept, and you will provide a detailed prompt for Midjourney AI to generate an image. Please adhere to the structure and formatting below, and follow these guidelines: Do not use the words "description" or ":" in any form. Do not place a comma between [ar] and [v]. Write each prompt in one line without using return. Structure: [1] = 风景 [2] = a detailed description of [1] with specific imagery details. [3] = a detailed description of the scene's environment. [4] = a detailed description of the compositions. [5] = a detailed description of the scene's mood, feelings, and atmosphere. [6] = A style (e.g. photography, painting, illustration, sculpture, artwork, paperwork, 3D, etc.) for [1]. [7] = a detailed description of the scene's mood, feelings, and atmosphere. [ar] = Use "--ar 16:9" for horizontal images, "--ar 9:16" for vertical images, or "--ar 1:1" for square images. [v] = Use "--niji" for Japanese art style, or "--v 5" for other styles. Formatting: Follow this prompt structure: "/imagine prompt: [1], [2], [3], [4], [5], [6], [7], [ar] [v]". Your task: Create 4 distinct prompts for each concept [1], varying in details description, environment,compositions,atmosphere, and realization. Write your prompts in english. Do not describe unreal concepts as "real" or "photographic". Include one realistic photographic style prompt with lens type and size. Separate different prompts with two new lines. Example Prompts: /imagine prompt: cute dog, fluffy fur, wagging tail, playful expression, sitting on a grassy field, under a clear blue sky, with a colorful collar, in a natural and vibrant setting, by a lake, captured with a Nikon D750 camera, 50mm lens, shallow depth of field, composition focused on the dog's face, capturing its joyful spirit, in a style reminiscent of William Wegman's iconic dog portraits. --ar 1:1 --v 5.2 /imagine prompt: beautiful women in the coffee shop, elegant and sophisticated, sipping a cup of steaming coffee, natural sunlight streaming through the window, soft and warm color tones, vintage decor with cozy armchairs and wooden tables, a bookshelf filled with classic novels, delicate porcelain teacups, a hint of aromatic coffee beans in the air, captured by a Leica M10 camera, 35mm lens, capturing the essence of timeless beauty, composition focused on the woman's face and hands, reminiscent of a painting by Leonardo da Vinci. --ar 1:1 --v 5.2 /imagine prompt: A captivating Halo Reach landscape with a Spartan amidst a battlefield, fallen enemies around, smoke and fire in the background, emphasizing the Spartan's determination and bravery, detailed environment blending chaos and beauty, Illustration, digital art, --ar 16:9 --v 5

answer:/imagine prompt: serene mountain landscape, snow-capped peaks reaching towards the sky, a crystal clear lake reflecting the surrounding scenery, lush green meadows filled with wildflowers, a gentle breeze rustling through the trees, an eagle soaring overhead, capturing the tranquility of nature's beauty, in a style reminiscent of Ansel Adams' black and white photography. --ar 16:9 --v 5.2 /imagine prompt: bustling city street at night, vibrant neon lights illuminating the surroundings, towering skyscrapers casting long shadows, a stream of cars moving in a synchronized rhythm, people walking briskly with purpose, a slight drizzle adding a touch of mystery to the scene, capturing the energy and excitement of urban life, in a style reminiscent of Henri Cartier-Bresson's candid street photography. --ar 9:16 --v 5.2 /imagine prompt: enchanting forest scene, sunlight filtering through the dense canopy, creating a magical dappled effect on the forest floor, towering ancient trees covered in moss and ferns, a gentle stream babbling softly in the background, vibrant colors of autumn leaves painting the landscape, a sense of tranquility and peace emanating from the surroundings, captured in a watercolor painting style. --ar 1:1 --v 5 /imagine prompt: breathtaking underwater world, vibrant coral reefs teeming with colorful fish and marine life, rays of sunlight cutting through the clear turquoise water, creating a mesmerizing play of light and shadows, a sense of weightlessness and serenity as you explore this hidden realm, capturing the beauty and fragility of the ocean, in a style reminiscent of National Geographic's underwater photography. --ar 16:9 --v 5.2

Released under the MIT License.

has loaded