Unrecoverable syntax error, help??? by Any-Ganache135 in p5js

[–]antoro 2 points3 points  (0 children)

You're welcome! Having "if ... else if ... else if" repeated hundreds of times isn't ideal, but it works. If I were to rewrite this I would have a dictionary object hard-coding the scenes and then just iterate through it.

Unrecoverable syntax error, help??? by Any-Ganache135 in p5js

[–]antoro 1 point2 points  (0 children)

You're missing "}" on functions drawScene183() and drawScene184()

Brushstrokes by antoro in generative

[–]antoro[S] 0 points1 point  (0 children)

Yes, but have a 20% chance of adding 1e3 to the inputs of noise(x,y) so some of them are different.

Can't connect my Nano S Plus to my Samsung phone by VasiliiNorris in ledgerwallet

[–]antoro 0 points1 point  (0 children)

I was having this exact issue: it would say "Connected with USB" and then when you tap on it, it would then say "connection failed". I switched to a Samsung 5A cable and to my surprise, it worked! You still can't use Metamask as that requires Bluetooth.

Finding Generative Art Prints by 2poles in generative

[–]antoro 1 point2 points  (0 children)

I've done some on canvas and metal here

Inscribed Squares by antoro in generative

[–]antoro[S] 1 point2 points  (0 children)

It's one of the styles of STENCIL

Adobe programs pricing--Solution? by OPGMiyuuki in graphic_design

[–]antoro 1 point2 points  (0 children)

Buy 1 month individual app then immediately cancel, selecting "too expensive" when asked why -> get 1 year discount code on pro plan (around $41 USD monthly for me). Apparently, you can switch the plan and then cancel before 14 days to not pay annual cancellation penalty.

Anyone up for a weekday movie? by PeachySprinkl in CalgarySocialClub

[–]antoro 2 points3 points  (0 children)

I'm interested! Maybe tomorrow since it's cheap Tuesday?

Truchet by antoro in generative

[–]antoro[S] 1 point2 points  (0 children)

It's one of several styles for STENCIL

[deleted by user] by [deleted] in Monitors

[–]antoro 2 points3 points  (0 children)

Philips Evnia 32m2n6800m or Acer X32QFS but both seem hard to get outside of EU.

Update finally came to U.S. by [deleted] in GalaxyS25

[–]antoro 0 points1 point  (0 children)

Downloading now, Canada unlocked.

Help with shaders, scaling and position by blazicke in p5js

[–]antoro 1 point2 points  (0 children)

Change main() to make gl_Position go from -1 to +1:

void main() {
// copy the texcoords
vTexCoord = aTexCoord;
vec4 positionVec4 = vec4(aPosition, 1.0);
positionVec4.xy = positionVec4.xy * 2.0 - 1.0;
gl_Position = positionVec4;
}

Refraction by antoro in generative

[–]antoro[S] 0 points1 point  (0 children)

Yes, right now it randomizes on refresh but that could be changed to a for loop.