Questions tagged [generative-art]

Artwork created with the use of an autonomous system. An autonomous system independently determines features of an artwork that would otherwise require decisions made directly by the artist.

Generative art refers to art that in whole or in part has been created with the use of an autonomous system. An autonomous system in this context is generally one that is non-human and can independently determine features of an artwork that would otherwise require decisions made directly by the artist. In some cases the human creator may claim that the generative system represents their own artistic idea, and in others that the system takes on the role of the creator. There are various types of generative art - music, visual art, software art, architecture, literature, etc.

59 questions
9
votes
2 answers

Command Line stable diffusion runs out of GPU memory but GUI version doesn't

I installed the GUI version of Stable Diffusion here. With it I was able to make 512 by 512 pixel images using my GeForce RTX 3070 GPU with 8 GB of memory: However when I try to do the same thing with the command line interface, I run out of…
Alex S
  • 4,726
  • 7
  • 39
  • 67
6
votes
2 answers

Create Voronoi art with rounded region edges

I'm trying to create some artistic "plots" like the ones below: The color of the regions do not really matter, what I'm trying to achieve is the variable "thickness" of the edges along the Voronoi regions (espescially, how they look like a bigger…
rikyeah
  • 1,896
  • 4
  • 11
  • 21
4
votes
7 answers

AS3 - Export or Save a sprite as SVG or other vector format

I'm working on some generative art projects in AS3, and I keep running into problems with the quality limits of bitmaps. They're not scalable or editable the way vectors are. Is there a class or library that I can use to take a Sprite object's…
Mar
  • 7,765
  • 9
  • 48
  • 82
3
votes
1 answer

What is the intent of using 4D OpenSimplex Noise instead of 2D Perlin Noise to create a looping noise?

While I was learning about ways to create a looping generative art GIF, I encountered two different ways of making noise loops. Etienne Jacob's example code in his tutorial uses 4D OpenSimplex Noise as follows. (float)noise.eval(scl * x, scl * y, R…
2
votes
2 answers

AS3 - How much time until next frame / screen draw

I have a generative art app, and I'd like it to draw as many cycles as possible each frame without reducing the framerate. Is there a way to tell how much time is left until the screen updates/refreshes? I figure if I can approximate how many…
Mar
  • 7,765
  • 9
  • 48
  • 82
2
votes
1 answer

How to create roundish shapes in p5.js?

I am trying to code a zen garden as a semester project. I work with the p5.js JavaScript library and my question is how to create roundish shapes. I want to use those shapes as stones in the garden. Here is my code for one stone.: const x =…
Anna Mei
  • 89
  • 3
  • 5
2
votes
1 answer

Finding the intersection between two curved lines in p5js

I have multiple curved lines on my Canvas (drawn with the beginShape/curvedVertex methods). These lines may intersect at one or more points. I’d like to find the coordinates of any intersections so that I can add them to an array. Does anyone know…
BlakeS
  • 41
  • 1
2
votes
1 answer

P5js sketch slow with WEBGL

I created a sketch which draws 100s of thousands of lines. As expected, it is quite slow. So, I tried the same sketch with WEBGL mode. But this turned out to be slower than the default mode. My understanding was that WEBGL leverages GPU for fast…
Praveen
  • 23
  • 5
2
votes
1 answer

Adding colors to Hitomezashi stitch pattern in p5.js

I have recreated this procedural drawing from this Numberphile episode https://www.youtube.com/watch?v=JbfhzlMk2eY&ab_channel=Numberphile. It generates lines which are either offset or not depending on some random sequence true and false, to…
Soma Juice
  • 369
  • 1
  • 11
2
votes
1 answer

Processing GenArt | How to save Shape as GIF

Goal: export this output as a GIF. This is working code, using Processing and Python. This actually runs forever, how do I stop it after a while so as I can save as GIF? import random radius = 0 def setup(): global displayWidth, displayHeight,…
DanielBell99
  • 896
  • 5
  • 25
  • 57
2
votes
1 answer

Matplotlib Scatter Plot Returns Different Plots in Different Versions

I'm working on a generative art generator library for python called samila based on matplotlib scatter plot. It gets two functions and maps a square space into a arbitrary shape. We want the generated shape to be the same for given functions and…
Sadra Sabouri
  • 191
  • 1
  • 9
2
votes
1 answer

How can I get svgwrite.drawing() object to reinitialize on each iteration?

I'm an artist trying my hand at some generative art, in the very early learning stages. I have some code that does what's expected on the first iteration, it makes a small svg file consisting of dozens of stacked circles, like tree rings: import…
GreySoul
  • 55
  • 2
2
votes
1 answer

Flutter: how to create generative animations using CustomPainter

I have used Flutter's CustomPainter class to create a generative still image using Paths (see code below). I'd like to be able to animate such images indefinitely. What is the most straightforward approach to doing this? import…
RonH
  • 504
  • 1
  • 3
  • 12
2
votes
1 answer

Processing doesn't draw complete curves using while loop

I'm investigating possibilities that Processing gives regarding generative art, and I stumbled upon a problem: I'd like to generate multiple Bezier curves using a while loop. However, the program skips parts of some curves, while others are drawn…
2
votes
1 answer

How to lower one number when the other rises?

I take a value from the mouse (mouseX) position in Processing, as this value gets higher, I want the amount of boxes that are rendered to lower in steps of 5 (rotStep). I did a lot of reading and found out the method I should use is called 'Negative…
Marinus
  • 39
  • 5
1
2 3 4