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=513&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 6000 results for "image"(893ms)

drumMachinemain.tsx2 matches

@mo3ly•Updated 7 months ago
517 margin: 0;
518 background-color: var(--page);
519 background-image: radial-gradient(#222 1px, transparent 0px);
520 background-size: 1rem 1rem;
521 color: var(-text);
562
563canvas {
564 image-rendering: pixelated;
565 width: 100%;
566 pointer-events: none;

saveAsPDFmain.tsx1 match

@all•Updated 7 months ago
90 margin: [12, 12, 12, 12], // top, right, bottom, left in mm
91 filename: "resume.pdf",
92 image: { type: "jpeg", quality: 0.98 },
93 html2canvas: {
94 scale: 3,

saveAsPDFREADME.md1 match

@all•Updated 7 months ago
7 margin: 0.2,
8 filename: 'resume.pdf',
9 image: { type: 'jpeg', quality: 0.98 },
10 html2canvas: { scale: 2 },
11 jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }

drumMachinemain.tsx2 matches

@sedson•Updated 7 months ago
420 margin: 0;
421 background-color: var(--page);
422 background-image: radial-gradient(#222 1px, transparent 0px);
423 background-size: 1rem 1rem;
424 color: var(-text);
465
466canvas {
467 image-rendering: pixelated;
468 width: 100%;
469 pointer-events: none;

allmapsREADME.md2 matches

@sammeltassen•Updated 7 months ago
13 // IIIF Presentation Manifest URL
14 "manifestId": "https://collections.leventhalmap.org/search/commonwealth:9s161881v/manifest",
15 // IIIF Image URL (first image in the manifest)
16 "imageId": "https://iiif.digitalcommonwealth.org/iiif/2/commonwealth:9s1618824"
17}
18```

juicyBowTiemain.tsx4 matches

@all•Updated 7 months ago
81 const generateBowTie = () => {
82 const svgString = new XMLSerializer().serializeToString(svgRef.current);
83 const img = new Image();
84 img.onload = () => {
85 const canvas = canvasRef.current;
86 const ctx = canvas.getContext("2d");
87 ctx.clearRect(0, 0, canvas.width, canvas.height);
88 ctx.drawImage(img, (canvas.width - size) / 2, (canvas.height - size) / 2, size, size);
89
90 const collectionCanvas = collectionCanvasRef.current;
96 collectionCtx.translate(x + smallSize / 2, y + smallSize / 2);
97 collectionCtx.rotate(rotation * Math.PI / 180);
98 collectionCtx.drawImage(img, -smallSize / 2, -smallSize / 2, smallSize, smallSize);
99 collectionCtx.restore();
100 };
101 img.src = "data:image/svg+xml;base64," + btoa(svgString);
102 const name = generateName();
103 setGeneratedBowTies([...generatedBowTies, {

blob_adminREADME.md1 match

@synapticrobotics•Updated 7 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![b7321ca2cd80899250589b9aa08bc3cae9c7cea276282561194e7fc537259b46.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/311a81bb-18d8-4583-b7e3-64bac326f700/public)
6
7Use this button to install the val:

XKCDComicOfTheDaymain.tsx2 matches

@wolf•Updated 7 months ago
5 const response = await fetchText("https://xkcd.com/");
6 const $ = load(response);
7 const image = $("div#comic img").attr("src");
8 return new Response(await (await fetch(image)).arrayBuffer());
9}

megacloudUtilsmain.tsx1 match

@temptemp•Updated 7 months ago
55}
56export async function getWasm() {
57 const req = await fetch("https://rabbitstream.net/images/loading.png?v=0.6", {
58 "headers": {
59 "Referrer-Policy": "strict-origin-when-cross-origin",

madPinkCardinalREADME.md1 match

@test_account_001•Updated 7 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![b7321ca2cd80899250589b9aa08bc3cae9c7cea276282561194e7fc537259b46.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/311a81bb-18d8-4583-b7e3-64bac326f700/public)
6
7Use this button to install the val:

brainrot_image_gen1 file match

@dcm31•Updated 5 days ago
Generate images for Italian Brainrot characters using FAL AI

modifyImage2 file matches

@stevekrouse•Updated 6 days ago
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