vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Is there a way to render an array of pixels? #44

Closed TatriX closed 1 year ago

TatriX commented 3 years ago

Hi! I'm trying to render a 2d array of pixels and it seems there is no simple way of doing this. I'm looking for something similar to canvas or p5 / processing

vydd commented 1 year ago

Hey, not at the moment! Would you expect that to work as a texture?

TatriX commented 1 year ago

I guess. I was trying to manually generate Perlin noise iirc. It's been a while :)

vydd commented 1 year ago

Hey! I've added the canvas here 1be59d2c44b5cd8c54e34b4931133f1020474e2b. It needs some polish and docs, but I'm pretty happy with how it works in general.

Here's what I made with it (the new example):

stars-demo