Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Browsing all 2896 articles
Browse latest View live
↧

how to introduce speech recognition into game.

Hi, I am currently working on a university final year project, where I am taking an existing piece of work and adding a useful element to it. I have started building the classic brick breaker game but...

View Article


g4p: Scale text according to panel size

Hello, is there a way to scale a text according to the size of the superior container? The size of the container depends on the sketch size which is set before running. I could change font size for...

View Article


How can I change the sprite in S4P during the game?

I want to change the image loaded in an instance of a sprite in S4P, just as in Pacman when the image of a ghost changes. I cannot find any method in the library to do this. Shall I create an instance...

View Article

Webcam and video on 64 bit

I've been working for some time on a program using the usual import processing.video.*; and had no problem with it. Now for no apparent reason processing is telling me that video is only compatible...

View Article

Live Video Streaming

i have a problem, when i live stream my video ,it will record but when i make it stop . it will make all my program hang and then i need to reset . can anyone of you let me know how i can overcome with...

View Article


How can I make this sound play every time the snake eats a square?

So i'm makin' a snake game as a project, and fortunately i'm almost there. The last thing I need is to make a sound every time the snake eats one of the random squares, but as it is right now, it only...

View Article

controlP5 : changing color of bang, button, sliders.

How to change the colors of bang, button and sliders? TIA.

View Article

Methods not visible in self made library

Hi. I have made a library to enable some quicker and easier interaction. I made it in eclipse, which does not find any errors. I have also tried to import it into Processing, which at least does not...

View Article


look At

can someone help me with this : if i want to make/code something like " look at " (trekking object ,locking it and then make my camera follow that object automatically ). how can i do that , can you...

View Article


Image may be NSFW.
Clik here to view.

Horizontal scrolling

hello, i would like to add a horizontal scolling bar to this sketch since i "lost" some data at the end of the windows i can't use the example in the reference since it uses an immage. Really i tried...

View Article

Can Minim play more than one song at the same time?

Hi everyone! I was wondering if you guys know if minim could play more than one song at a time? I am trying to use an fsr sensor to detect when someone is pressing on a certain area of a mouse pad...

View Article

Import location and velocity data from txt

Hello, I have a txt file that contains the location and velocity data for particles and I am trying to import it in processing but I have problem with the syntax. Here is an example of my txt file:...

View Article

Making a basic music sequencer with minim

I've started on a project to create a music sequencer with minim using instrument classes and playNote functions etc. I've got a sequence of notes working ok, but I have no way of looping them. Here's...

View Article


Hello, in the code below I try to give a random value to textSize in the...

[see below for code]

View Article

Processing and Phidgets

hi. Somebody here work with Processing and Phidgets? Thank you

View Article


How to change permission in terminal I cannot use VideoExport Library.

Hi guys, I have a problem trying to use any of the code from the library of Video Export that they get the same error. Even with the code from the website itself here >...

View Article

Getting audio and video in sync

Hi, I have some code to play a video with different soundtracks (or sometimes no sound) and I can't seem to get them in sync. The sound plays noticeably behind the video, maybe by about a third to a...

View Article


Resizing a captured image?

I'm trying to make a program that captures an image from the webcam, then reloads the captured image in different places on the screen. I'll do more with it later, but I want to iron this problem out...

View Article

How to export video to a folder other than the root of the project

Hey guys! I'm making a little application that basically allows users to record small video diaries from their webcam and integrated mic. (It'll be used as a design probe). I've made everything work...

View Article

Processing - random video array + webcam (to make security camera-type visuals)

I'm attempting to make the visuals for an art installation I'm working on, and I'm not quite sure how to go about it in Processing. Here's what I would like to do (I'll be using an old CCTV monitor):...

View Article
Browsing all 2896 articles
Browse latest View live