Skip to content

u/a1579

In this archive from Feb 2011 to Mar 2023

1
posts
29
comments
1
media
114
score

divide the image into a square grid, place a circle to every grid cell and let the rgb value of the input image (cell center) control the radius of each circle

It's a bit spooly how well it does it... the prompt was something like "Can you write me a html and java script code for an app that lets me upload an image, process and display the result. The image should be processed in the following way:Divide the image into a square grid, place a circle to every grid cell and let the pixel brightness of the input image (cell center) control the radius of each circle. Also, add controls that let me control the minium and maximum diamters of the circles."

Followed by: "Can you tweak the code so it displays a white background and the resulting circles and not the uploaded image?".

You can paste the html and js into some online html editor and there you go. :)

-2 points

I wonder if you could ask chat gpt to write you a python, or js script? The input would be a blured png and you want to divide the image into a square grid, place a circle to every grid cell and let the rgb value of the input image (cell center) control the radius of each circle?

-10 points

You can't possibly mean what you just wrote. Good "design" (for lack of a better word) is not about making things look nice. It's about pushing the limits of what can be done, it's the literal definition of innovation.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.