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

Gif animation / Using a Processing version 3.3.5 / Please let me know how to...

I want to put a gif image into the program. By the way, https://github.com/01010101/GifAnimation#void-setdelayint-ms It is said that Processing 3.0 or later is also available on the site. However, it...

View Article


How to divise an image into different images of same frames and then animate...

I want to animate large number of images located within a single frame

View Article


I have 2 questions about P3D geometry

The first is about triangle strips. When I try to draw one it gives me the message: "Only GROUP, PShape.PATH, and PShape.GEOMETRY work with createShape()" for something like: void setup(){...

View Article

Image may be NSFW.
Clik here to view.

HTTP Header with API Key to access JSON

Hi all. I have been searching extensively over the last few days in a bid to find a way of access an online JSON API using an API key i have. So for a limited number of requests you do not need the API...

View Article

why wont my music load.

OK, I converted a youtube video to mp3 then placed it in the program, I'm making but it say can't load. https://paste.ofcode.org/EcHFNHzudGWJ7GZcnVaqqg === Minim Error === === Couldn't load the file...

View Article


How to make a line of objects created in classes?

In my 3D game, there are trees, lots of them. To make it easier, I want to make them in a row, with multiple rows. I have the code for the trees and placing them into the game but it takes up a lot of...

View Article

how to set framerate of gif (gifAnimation lib)?

the exported gif always running at 10 fps. how to make higher fps; gifAnimation 3.0.0 _ processing 3.3.4 import gifAnimation.*; GifMaker gifExport; float x; void setup() { size(200, 200); gifExport =...

View Article

G4P TextArea select entire word

I am loading text into a G4P textarea and want to be able to select an entire word with a double click. Any ideas on how to do that?

View Article


Image may be NSFW.
Clik here to view.

How do I register contact in Processing?

I'm trying to develop Galaga in Processing, and I've made progress, but now I need to figure out how to register contact in the game, so that when the bullets hit the enemies they die, and when they...

View Article


Image may be NSFW.
Clik here to view.

How to connect 3iCube USB3.0 vision camera with Processing?

Hi everybody. I'm new comer with Processing. I have a 3iCube USB3.0 vision camera and I'm trying to use it with Processing but I can not get the signal from this camera. Here's my code: import...

View Article

Spotify HTML POST --> 400 Bad Request

I am trying to request an access token from the Spotify api following the Client Credentials Flow but I'm receiving the error 400 (bad request. This indicates that I probably have an error in my POST...

View Article

How does the coloring of the particles in the Pixelflow Library work?

I am using the DwParticle2D, as in the examples Fluid_VerletParticleCollisionSystem or the FlowFieldParticles_OpticalFlowCapture. I am aware that the particle's color respond to the movement of the...

View Article

Ketai library SQLite - can't insert into DB

I am following the example at Ketai to insert a new row into an existing SQLite database. I am using a simple SQL insert statement. The println statements at the bottom from a SELECT statement suggests...

View Article


spock (brightness tracking)

After watching Utube 11.4 Introduction to Computer Vision Processing Tutorial, I have started my journey with learning processing. Need your Help. Where can I find this tutorial code up to time stamp...

View Article

How to use P3d with contorl P5 GUI library?

****Hi, I am new to processing and am using processing 3.3.6 Wondering if anyone can help me make the GUI interface render in 2D ? The idea is to have a sphere in the middle (able to rotate with...

View Article


How can i import files while the sketch is running?

Hi Guys! Is there a way to import files while the sketch is currently beeing excecuted? E.g.: I have a button(controlp5) and when pressed it opens my filemanager and lets me pick a picture for...

View Article

How to assign keyboard shortcuts to functions in g4p?

I am happy that I can use buttons to perform actions on particular functions. But I am struggling to find instructions as to how to assign keyboard shortcuts to the user interface in g4p. Is it...

View Article


How to draw text to screen - when text are tweets using a particular hashtag?

Hi there - beginner here I am working on a project where I aim to visualise tweets of a certain hashtag. I am using Processing 3 with Twitter4j. I am able to get the tweets to show up in the console...

View Article

Error from video library in Ubuntu 16.04

Hi there I'm getting an error when trying to use the video library using Capture in Linux Ubuntu 16.04 in a 64 bits machine. Actually I tried in two different machines with fresh installs and got the...

View Article

Video library in 64-bit Ubuntu17.10: "A library used in this sketch is not...

UnsatisfiedLinkError: Error looking up function 'gst_date_get_type': /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so: undefined symbol: gst_date_get_type A library relies on native code that's not...

View Article
Browsing all 2896 articles
Browse latest View live