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
2
votes
0 answers

How to Prepare a Blend Object .svg for Processing?

I'm struggling to prepare a correct .svg file of a blend object to load it in Processing the way it looks in Illustrator. I figured out that I can export compound paths successfully so I tried to turn a blend object to a compound path, but can't…
2
votes
0 answers

Pytorch DCGAN example doesn't work with different image sizes

I'm trying to use this code as a starting point for building GANs from my own image data set of 224x224 images. Image size is included in the default arguments (e.g. --imageSize 224). Here is the code snippet with the model: class…
2
votes
2 answers

Processing blendMode issue

I've written a simple script that generates three lines in random positions on a grid. Each line is specific colour - it's for a logo. I want to use the multiply blend mode, but it creates jagged imagery. Any ideas on how to fix this issue? //…
2
votes
1 answer

JavaScript canvas, manually cloning a canvas onto another generates a weird pattern

I'm trying to make a text effect similar to the effect found at the bottom of this article My proposed approach is: Make two canvasses, one is visible, the other is invisible I use this as a buffer. Draw some text on the buffer canvas Loop over…
Azeirah
  • 6,176
  • 6
  • 25
  • 44
2
votes
1 answer

Open source lib for Audio based generative art (Flash/ActionScript )

I need Open source lib for Audio based generative art (Flash/Action Script) Something like or easier than Very Interactive People example Something more strictly formatted and more 2d than Mr.Doobs examples
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
2 answers

Create generative art circle pattern

I have been teaching myself JavaScript, and I like the idea of code-generated art. I came across this design that is made up of circles changing in size and overlapped by different colors. How would something like this reference image: Can this be…
1
vote
0 answers

Canvas lineTo drawing and blending

I want to draw a lot of lines using Canvas.lineTo. The lines will sometimes overlap on themselves and i want its color to alpha blend and "add up" when this happens, as I'm using low opacity e.g. "#fff4". It seem if i call lineTo for all the lines…
Erlend
  • 1,711
  • 1
  • 22
  • 25
1
vote
2 answers

Using fxrand() for p5 project?

I used the p5 editor to build an nft, and I'm working on getting it working in the fxhash sandbox. Using p5's random() function worked great when I uploaded my project to the sandbox, but quickly realized I needed to implement the fxrand() function…
mickdeez
  • 507
  • 3
  • 7
  • 16
1
vote
0 answers

Sequence musical event with Web Audio API

I would like to sequence musical events with web audio, to do a simple musical piece. I'm just gettin started with web audio & I'm looking for tips or pointers in the right direction to be able to sequence simple events one after the other. I know…
alexalex25
  • 33
  • 6
1
vote
1 answer

Creating a mask layer in p5js

I would like to draw a pattern, and then only have that pattern ‘show through’ where it overlaps with a shape that I specify. Similar to how a mask layer works in Photoshop. Does anyone know how I can approach this?
BlakeS
  • 41
  • 1
1
vote
1 answer

Remove shadow and gradient from this p5.js sketch

I'm trying to adapt this sketch for my own work but I can't seem to figure out how to make it such that the tiles are solid colours and each row does not have that shadow. The gradients and shadows are controlled by row 116 to 123.
1
vote
1 answer

Issues exporting Processing sketch to PDF: sketch gets cropped

I am trying to export my sketch to pdf. The issue that I have is that for some reason only a portion of my sketch is exported to pdf, as if the original sketch was cropped! When I run my sketch, 64 lines show up (as intended) and indeed when I save…
tommsyeah
  • 121
  • 3
  • 10
1
vote
1 answer

Failed attempt at goto 10 in Processing

I've tried a Goto 10 exercise on Processing and have no idea where is my mistake. The intent was to make a Goto 10 like scenario but there's something I'm missing. I believe the loop may be off. //line size int a = 15; void setup(){ …
ques
  • 13
  • 2
1
vote
2 answers

How to get a color of a pixel in the image using p5.js and use it as a fill color?

I'm learning p5.js. I've tried the following code to draw a circle each time I move the mouse with fill color that changes according to color of an image. let img; function setup() { createCanvas(400,…
user16502467
1
vote
1 answer

Duplicate square / angular spiral with nested for loops in p5.js?

I am trying to make a grid out of angular spirals. The spiral itself is composed of single lines within a for loop. When I duplicate and shift (translate) the origin of the spiral along one axis (x OR y) it works. But shifting along both (x AND y),…
mrlrnzdsgn
  • 13
  • 3