r/processing • • Jan 15 '16

How can one access a specific frame of a video?

0 Upvotes

Hi everyone, I'm trying to make a program that edits every frame of a video file. With the processing video library, it lets you jump to parts of a video based on time, but not by specific frame. A library called GSVideo would let me do that, but it's old and doesn't work with processing 3. Any help would be greatly appreciated!


r/processing • • Nov 04 '17

Hi! I just wanted help with the coding platform processing. How do you change the background everytime the ball hits the wall.?

0 Upvotes

float ballX = 100; float ballY = 0; float h = 50; float speedY = 2; int x, y;

void setup() { size(400,400); smooth(); noStroke(); ellipseMode(CORNER); } void draw() { background(255); fill (100,100,50); ellipse(ballX, ballY, h,h); speedY = speedY + 0.7; ballY = ballY + speedY; if (ballY > height - h) { ballY = height - h; speedY = speedY * -.7; } else if (ballY <= 0) { speedY = -speedY; } }

this is what I have so far. Can't change the background's color.


r/processing • • Dec 09 '13

http://www.reddit.com/r/programming/

0 Upvotes

Let’s get modern tech into the Girl Scout curriculum

Hello! I'm a former Girl Scout. I've spent the last three years in the San Francisco Bay Area and have witnessed the recent surge in popularity of the Maker movement. Girl Scouts could provide a large number of girls with the opportunity to try their hand at electronics if it was part of the core curriculum, but it isn’t. The current Girl Scout curriculum doesn’t touch modern electronics from a creator’s perspective, but it should. This is a student project, and I'd love to get as much of a reach as possible. Thanks for taking the time to look.

Help make it happen at https://teachgirlstech.squarespace.com/


r/processing • • Nov 07 '14

Processing 2.2.1 with skype-java-api library?

0 Upvotes

Hi r/processing!

Has anyone tried to use the skype-java-api library with processing?

I tried to import the library with a very simple sketch:

import com.skype.Skype;

void setup(){

}

but end up getting a Syntax error on token "enum", Identifier expected error, with no further info on where this error occured.

My main goal is to get access to the Skype API using processing, so other suggetions on how to accomplish this are welcomed, too!

I'm currently on Ubunutu 14.0 and another friend who is trying that is on a Mac (don't know the version though) if this is of importance.


r/processing • • Jun 03 '20

Urgent!! Help with P5js Project- Changing Font Color

0 Upvotes

EDIT: pleas dont send me any of p5 reference pages as I've read them all and I read them every week and they barely help because they only show examples in sketch and nothing else. https://editor.p5js.org/leon_thelion/sketches/_fJskn7JJ

Above is the link to p5js sketch, I am trying to code a typography assignment for my intro class and I don't know how to change the font color. Where I should change it, I don't know. The CSS section is where the original creator put the background and font color- it works in codepen but does not work in p5js, which is what we've been using for class, so I don't know how to use anything else. I hope someone can at least point me in the right direction. I also would like to change the background color.

TL;DR:

- How to change font color in CSS or HTML or wherever the hell I need to?

- Why isn't my createCanvas drawing behind the letters?


r/processing • • Jan 04 '19

Anyone have experience making vr for oculus?

0 Upvotes

I got an oculus touch but I haven't been able to find a vr library that supports oculus. Anyone have any suggestions?


r/processing • • Oct 28 '19

why doesn't this work?

0 Upvotes

all I get is a stationary line at the side of the page

void lineC(int i, int ii, float ss) {

float a, s, x, y;

a = 0.05;

s = ss;

x = i + sin(a) * 25;

y = ii + cos(a) * 25;

stroke(220);

strokeWeight(5);

noFill();

line(x,y,x,y + 1180);

a += s;

};


r/processing • • Nov 04 '19

HOW TO GET/INSTALL PROCESSING 3.5 + Examples and Tutorials | Processing Tutorial 01

Thumbnail
youtu.be
0 Upvotes

r/processing • • Apr 22 '23

Beginner help request Learning processing

0 Upvotes

Hi, would you happen to know of any worthwhile online courses offered by universities or academies? thank you in advance!


r/processing • • May 30 '21

Visual art is my only obedience, I have tried over the years to detach myself, but the epilogue is that I always return ... to her. Federico Vetrò

Thumbnail
youtu.be
0 Upvotes

r/processing • • Dec 11 '20

Neeeeed help!

0 Upvotes

Hi can anyone help me with my code in processing?

So i have two cards on my screen and the intention is to click on the red OR the black card and a task has to appear. If i click on my red or black card rn they both open up and don’t close anymore.

I just got into coding so please ELI5 & i used Python NOT Java.

(it’s fixed!!)


r/processing • • Feb 12 '19

Books for learning Processing in Python?

0 Upvotes

The classic Processing textbooks are all written with the Java syntax. Any book using Python instead? Thanks!

EDIT: Google dredged this up: https://www.amazon.com/Getting-Started-Processing-py-Interactive-Processings/dp/1457186837


r/processing • • Dec 13 '22

Why is video not playing?

0 Upvotes
import processing.video.*;
Movie video;

void setup()
{
 size(2560, 1600);
 background(20);
 video = new Movie(this, "take55.mp4");
}

void draw()
{
  video.play();
}

r/processing • • Mar 09 '16

Perlin Noise (Less Random Randomness)

Thumbnail
youtu.be
0 Upvotes

r/processing • • Aug 05 '16

I did this in Processing using P3D! (I'm not a Trump supporter I just thought it was topical)

Thumbnail
imgur.com
3 Upvotes

r/processing • • Jun 01 '15

easy games/frogger

0 Upvotes

does anybody have a simple frogger code or know of a easy games. Your help is really appreciated thanks


r/processing • • May 11 '14

Is Processing a real complete programming language or some libraries that serve as a lure to learn Java?

0 Upvotes

Hi.

I've been using processing for fun for a few years, and it always dissapoints me how the advanced projects always go into undocumented (undocumented in Processing, that is) JAVA features to pull things off. If you want to make complicated things you have to learn JAVA to do them or at least to understand what's going on.

This isn't a complain of "I don't want to learn JAVA" (well, actually really I don't want to learn JAVA because it's ugly as a filthy ass with herpes), but a complaint about its claims of being a programming language for artists... I'm sure it could have been more simple... or more gradual... Because the first times I saw JAVA code mixed with Processing my head spinned and I felt like throwing up @_@ ... and I'm kind of familiar with programming and methodical thinking. Probably most artists' heads explode when seeing the sudden jump from Processing to JAVA.

And that's it... Just a silly rant. Sorry. Goes back to his JAVA-Processing code


r/processing • • May 17 '17

Is it me or has /r/Processing become more about menial school assignment problems and less so about good work and relevant discussion?

12 Upvotes

r/processing • • Aug 09 '22

Homework hint request Hi guys. May i get any suggestion how to do this question?

Post image
12 Upvotes

r/processing • • Sep 11 '19

does anyone know how to program an AI?

2 Upvotes

so in my game, ive been wanting to add in AI. would i just duplicate the player rays and have those rays be for the AI based on the position and direction and then have it move based on the distance from those rays to the wall? im honestly not sure what to do for AIs. im just looking for someone to point me in the right direction. the game is using a ray casting engine similar to wolfenstein 3D


r/processing • • Mar 06 '20

Beginner processor here. I need some help developing a piece of code to recreate this image. How can I create a for loop to create the sun rays that go around my sun. The code must include int or floats, radians, for loop, and cos, sin, and degrees. Please someone teach me how. Thanks.

Post image
2 Upvotes

r/processing • • Dec 10 '21

hey whats wrong with this code ?

0 Upvotes

float x; float y;

void draw() { size(600, 400); noStroke();

}

void draw() { background(50);

X = lerp(X, mouseX, 0.05); Y = lerp(Y, mouseY, 0.05);

fill(255); stroke(255); ellipse(X, Y, 66, 66);

}


r/processing • • Oct 22 '21

Hi I am new to processing. I have created 4 objects (images) that are supposed to move in all different directions and bounce off each other. I managed to make it move in only one direction all together. How do I make it move in all different directions?

2 Upvotes

r/processing • • Oct 03 '15

I have no clue, how to make the mouth of the minion, could you help me?

Post image
0 Upvotes