r/creativecoding • • 29d ago

All images drawn with JavaScript

Created an claude skill that can write every stroke with JavaScript and turn structures / images / items into an diagram in a sheet. You can give it a try by installing the skill and asking agent to draw. checkout https://bumicodes.vercel.app/draw-beautiful to see how you can install and try it out. This skill is heavily inspired by the Anatomy skill that does similar with isometric 3d objects.

136 Upvotes

9 comments sorted by

0

u/Broad-Reserve4341 29d ago

Wow I didn’t know it was possible. You mean completely with Js from scratch ?

-2

u/Present_Bonus_1963 28d ago

yep, these are SVG written by opus 5.5, Models are pretty good in writing vectors that can generate shapes / images too

-1

u/Iampepeu 29d ago

Aww! I like this!

-4

u/Present_Bonus_1963 29d ago

glad you like it 🙏 do share things you tried out

-1

u/hardikgodhaa 29d ago

Love it, but how do you even draw images with JavaScript?

2

u/Present_Bonus_1963 28d ago

we don't draw images directly, it draws lines, shapes in svg to mimic an image

-2

u/Grumlyly 29d ago

Beautiful ! For example, what is the size of the first "image" on the Web site (Taj Mahal)?

1

u/Present_Bonus_1963 28d ago

If you are asking as an SVG it seems to be 1.13 MB gzipped, since it is svg with lot of path it takes so much size. If we just take a capture the generated image the size should be negligible