Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/?q=image&page=318&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=image

Returns an array of strings in format "username" or "username/projectName"

Found 12761 results for "image"(5531ms)

stevensDemo.cursorrules2 matches

@jlau•Updated 3 months ago
187## Val Town Platform Specifics
188- **Redirects:** Use `return new Response(null, { status: 302, headers: { Location: "/place/to/redirect" }})` instead of `Response.redirect` which is broken
189- **Images:** Avoid external images or base64 images. Use emojis, unicode symbols, or icon fonts/libraries instead
190- For AI-generated images, use: `https://maxm-imggenurl.web.val.run/the-description-of-your-image`
191- **Storage:** DO NOT use the Deno KV module for storage
192- **Browser APIs:** DO NOT use the `alert()`, `prompt()`, or `confirm()` methods

stevensDemoassets.ts6 matches

@jlau•Updated 3 months ago
2 // Background
3 BACKGROUND:
4 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/8b501664-722e-4be8-cf71-83aab7756e00/public",
5
6 // Stevens
7 STEVENS_FRONT:
8 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/8b8432bb-add2-44ad-bb12-44b8ea215500/public",
9 STEVENS_BACK:
10 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/e28da8ab-7710-4b82-8e32-8fdf65c2ed00/public",
11 STEVENS_WALKING:
12 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/bd7b9997-09b2-4b35-6eb9-9975a85bb700/public",
13
14 // Mailman
15 MAILMAN_STANDING:
16 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/20a6493d-cc31-475e-aa83-ac97d317e400/public",
17 MAILMAN_WALKING:
18 "https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/61604576-8a83-4d85-d5e4-8e8e26641700/public",
19};
20

stevensDemoApp.tsx25 matches

@jlau•Updated 3 months ago
82 const [cookieAndTeaMode, setCookieAndTeaMode] = useState(false);
83
84 // Fetch images from backend instead of blob storage directly
85 useEffect(() => {
86 // Set default background color in case image doesn't load
87 if (document.body) {
88 document.body.style.backgroundColor = "#2D1700"; // Dark brown leather color
89 }
90
91 // Fetch avatar image
92 fetch("/api/images/stevens.jpg")
93 .then((response) => {
94 if (response.ok) return response.blob();
95 throw new Error("Failed to load avatar image");
96 })
97 .then((imageBlob) => {
98 const url = URL.createObjectURL(imageBlob);
99 setAvatarUrl(url);
100 })
104
105 // Fetch wood background
106 fetch("/api/images/wood.jpg")
107 .then((response) => {
108 if (response.ok) return response.blob();
109 throw new Error("Failed to load wood background");
110 })
111 .then((imageBlob) => {
112 const url = URL.createObjectURL(imageBlob);
113 setWoodUrl(url);
114
115 // Apply wood background to body
116 if (document.body) {
117 document.body.style.backgroundImage = `url(${url})`;
118 }
119 })
362 return {
363 position: SCENE_ELEMENTS.DESK_SITTING,
364 image: ASSETS.STEVENS_FRONT,
365 highlightElement: SCENE_ELEMENTS.DESK,
366 animationClass: "no-animation",
372 return {
373 position: SCENE_ELEMENTS.DESK_SITTING,
374 image: ASSETS.STEVENS_FRONT,
375 highlightElement: null,
376 animationClass: "no-animation",
387 y: SCENE_ELEMENTS.MAILBOX.y - 20,
388 },
389 image: ASSETS.STEVENS_BACK,
390 highlightElement: SCENE_ELEMENTS.MAILBOX,
391 animationClass: "walk-to-mailbox",
398 y: SCENE_ELEMENTS.CALENDAR.y + 30,
399 },
400 image: ASSETS.STEVENS_BACK,
401 highlightElement: SCENE_ELEMENTS.CALENDAR,
402 animationClass: "walk-to-calendar",
409 y: SCENE_ELEMENTS.TELEGRAM.y + 10,
410 },
411 image: ASSETS.STEVENS_BACK,
412 highlightElement: SCENE_ELEMENTS.TELEGRAM,
413 animationClass: "walk-to-telegram",
417 return {
418 position: SCENE_ELEMENTS.OUTSIDE,
419 image: ASSETS.STEVENS_FRONT,
420 highlightElement: null,
421 animationClass: "walk-to-outside",
425 return {
426 position: SCENE_ELEMENTS.DESK_SITTING,
427 image: ASSETS.STEVENS_FRONT,
428 highlightElement: SCENE_ELEMENTS.DESK,
429 animationClass: "walk-to-desk",
623 box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4),
624 0 3px 8px rgba(0, 0, 0, 0.5);
625 image-rendering: pixelated;
626 cursor: pointer;
627 transition: transform 0.2s;
634 .notebook-pages {
635 background-color: #f8f1e0;
636 background-image: linear-gradient(#d6c6a5 1px, transparent 1px);
637 background-size: 100% 16px;
638 box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
639 image-rendering: pixelated;
640 }
641
652
653 .pixel-character {
654 image-rendering: pixelated;
655 position: absolute;
656 transition: left 0.7s ease-in-out, top 0.7s ease-in-out;
763 className="w-[512px] h-[512px] mx-auto relative"
764 style={{
765 backgroundImage: `url(${ASSETS.BACKGROUND})`,
766 backgroundSize: "cover",
767 backgroundPosition: "center",
768 imageRendering: "pixelated",
769 }}
770 >
799 {/* Stevens character */}
800 <img
801 src={stevensState.image}
802 alt="Stevens"
803 className={`pixel-character ${

pbackindex.html3 matches

@Gj64•Updated 3 months ago
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Text Studio - Professional Image Typography</title>
7 <meta name="description" content="Create stunning image-textured typography with professional tools and Apple-inspired design">
8 <meta name="theme-color" content="#000000">
9
13
14 <!-- Favicon -->
15 <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23007AFF'/><stop offset='100%' stop-color='%23AF52DE'/></linearGradient></defs><rect width='100' height='100' rx='20' fill='url(%23g)'/><text x='50' y='65' font-family='system-ui' font-size='45' font-weight='bold' text-anchor='middle' fill='white'>TS</text></svg>">
16
17 <!-- Apple Web App Meta Tags -->

pbackstyle.css1 match

@Gj64•Updated 3 months ago
148/* Canvas container with transparency grid */
149.canvas-container {
150 background-image:
151 linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
152 linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),

NowPlayingGrabbermain.tsx8 matches

@rodrigomarques•Updated 3 months ago
41 if (response.status > 400) {
42 const shortenedName = "Error (Forbidden)";
43 const image = SPOTIFY_LOGO;
44 return { shortenedName, image };
45 } else if (response.status === 204) {
46 const shortenedName = "Currently Not Playing";
47 const image = SPOTIFY_LOGO;
48 return { shortenedName, image };
49 }
50
51 const song = await response.json();
52 const image = song.item.album.images[0].url;
53 const artistNames = song.item.artists.map(a => a.name);
54 const link = song.item.external_urls.spotify;
67 formattedArtist,
68 artistLink,
69 image,
70 };
71 } catch (error) {
72 const shortenedName = "Error";
73 const image = SPOTIFY_LOGO;
74 return { shortenedName, image };
75 }
76};

photobackgroundParticleSystem.js2 matches

@Gj64•Updated 3 months ago
126 tempCtx.fillText(text, tempCanvas.width / 2, tempCanvas.height / 2);
127
128 const imageData = tempCtx.getImageData(0, 0, tempCanvas.width, tempCanvas.height);
129 const data = imageData.data;
130
131 this.textPath = [];

photobackgroundNeuralNetwork.js2 matches

@Gj64•Updated 3 months ago
237 tempCtx.fillText(text, this.canvas.width / 2, this.canvas.height / 2);
238
239 const imageData = tempCtx.getImageData(0, 0, tempCanvas.width, tempCanvas.height);
240 const data = imageData.data;
241
242 this.textPath = [];

photobackgroundREADME.md2 matches

@Gj64•Updated 3 months ago
68- **Real-time Rendering**: Optimized canvas operations and GPU acceleration
69- **Color Theory**: HSL/RGB conversion and perceptual color spaces
70- **Image Processing**: Edge detection, convolution, and filtering
71
72## 🎯 Visual Psychology Integration
963. **Select Algorithm**: Choose from 8 advanced filling methods
974. **Customize Parameters**: Adjust real-time controls for each algorithm
985. **Export Results**: Save your creations as high-quality images
99
100## 🔧 Technical Specifications

photobackgroundGradientFlow.js4 matches

@Gj64•Updated 3 months ago
70 tempCtx.fillText(text, this.canvas.width / 2, this.canvas.height / 2);
71
72 this.textMask = tempCtx.getImageData(0, 0, tempCanvas.width, tempCanvas.height);
73
74 // Generate flow sources at text boundaries
325 const height = this.colorField.length;
326
327 const imageData = this.ctx.createImageData(this.canvas.width, this.canvas.height);
328 const data = imageData.data;
329
330 for (let y = 0; y < this.canvas.height; y++) {
349 }
350
351 this.ctx.putImageData(imageData, 0, 0);
352 }
353
Gemini-2-5-Pro-O-01

Gemini-2-5-Pro-O-011 file match

@aibotcommander•Updated 22 mins ago
Multimodal Image Generator: https://poe.com/Gemini-2.5-Pro-Omni

ImageThing

@refactorized•Updated 2 days ago
Chrimage
Atiq
"Focal Lens with Atig Wazir" "Welcome to my photography journey! I'm Atiq Wazir, a passionate photographer capturing life's beauty one frame at a time. Explore my gallery for stunning images, behind-the-scenes stories, and tips & tricks to enhance your own