13.5: Tabular Data - Processing Tutorial

  Рет қаралды 51,198

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 33
@UedersonThec
@UedersonThec 8 жыл бұрын
Wow, bro! You know how to teach it! Would be great if I was a native english speaker! :) but I'm learning a lot from that video as a portuguese-br native speaker! It's a clear tutorial! Thank you so much!
@netharuM
@netharuM 4 жыл бұрын
you are super man in coding world
@jespermadsen4348
@jespermadsen4348 3 жыл бұрын
Love your energy, sir!
@NoooiZ
@NoooiZ 6 жыл бұрын
XML obviously stands for Xylophone Markup Language, considering the only word in the English language that starts with an X is "xylophone" and this is a well-known fact.
@wexer82
@wexer82 5 жыл бұрын
7:13 nice transition
@Ato-id5ux
@Ato-id5ux 2 жыл бұрын
i am trying to use CSV files from a database, however the elements are separated by semicolons instead of commas, and some of the elements contain commas themselves. is there a way to tell processing it has to separate by semicolons?
@benjaminevans8740
@benjaminevans8740 4 жыл бұрын
Great instruction! Suggestion for another video: an intermediate stage between the first simple table used to draw a rectangle and the much more complex bubble object example. What about loading HappyFace, or FrownyFace svg files depending on the contents of the table, rather than just using circles? I've posted this as a question in the forum, if anybody has the same question.
@prs0124
@prs0124 5 жыл бұрын
I really love your videos and have learned so much from you. I have a question that I hope is a quick fix. I believe i am following the process you have outlined to place a txt file in my data folder and use the syntax above, however, i receive a NullPointerException error on the line of code where I use the loadTable function. Anything you might think of that I can try to resolve this? Thanks again for your great videos.
@shivanktripathi4661
@shivanktripathi4661 3 жыл бұрын
hello guys, can someone please give me the exact link for the code he is using.....I am not able to find it
@jonnylaw4569
@jonnylaw4569 5 жыл бұрын
So I'm having an issue, I made a csv file in notepad that I saved as test.csv However, when I try to read the data in that csv file, it says "test.csv does not exist or could not be read" "NullPointerException" Do I need to put in a directory path or something? If so, how would I do that?. This is my code currently- Void setup() { Size(500,500); } Void draw() { Background(0); Table table = loadTable("test.csv"); TableRow row = table.getRow(0); Float x = row.getInt(0); Float y = row.getInt(1); Float w = row.getInt(2); Float h = row.getInt(3); Fill(255); Rect(x, y, w, h); } Edit: Ok I found out what I needed to do, it wasn't my program that was wrong, it was where I saved the csv file. For those who have the same issue as I do, save the csv file in the same folder as the program that uses it
@lukem118
@lukem118 5 жыл бұрын
Your technically suppose to save it in the data folder. Use Sketch>Add File at the top of the Processing editor.
@jonnylaw4569
@jonnylaw4569 5 жыл бұрын
@@lukem118 ah ok, yeah I couldn't figure it out so I just messed with it until I found something I could work with
@ai_zj
@ai_zj 5 жыл бұрын
Quick tip for others.. Drag the file onto your actual Processing sketch.
@forresterickson6225
@forresterickson6225 5 жыл бұрын
So here I am December 2019 and have an application where a table might help me. Having never before worked with table I started with the example at: processing.org/reference/Table.html This example produces an error when I try to run it: The function addColumn(String) does not exist. Anyone else working with tables encountered this and found a fix? Really had to get started when the examples from Proccessing.org do not work. I am using Processing version 3.5.3.
@TJ-zs2sv
@TJ-zs2sv 6 жыл бұрын
Can u Please put the link to source code?
@pattala3478
@pattala3478 7 жыл бұрын
Could you tell me how to receive the column data from the csv. file , I want to create the graph from column data.
@anodic_passion
@anodic_passion 4 жыл бұрын
hello sir, i am stuck with a problem... i have a csv file and i want to search for a string in its first column and then want to display the whole content of that specific row on screen... please help me out...
@anodic_passion
@anodic_passion 4 жыл бұрын
sir please help me out...
@moritzklug1858
@moritzklug1858 5 жыл бұрын
But how do you find a certain data and delete THAT row ?
@AndyHHH7
@AndyHHH7 4 жыл бұрын
How can I create an XML file with processing?
@AndreSantos-hx9qy
@AndreSantos-hx9qy 9 жыл бұрын
Thanks Daniel for the info, you are very clever and explicit in your explanations. Been learning a lot from you. Currently i´am programming a Paint Editor and an table like this it´s very useful, however i couldn´t yet put the function to call the table. Trying to put like a save function to the drawings that its drawn.
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Andre Santos Are you using Processing 3? With older versions of Processing some of this code will not work.
@AndreSantos-hx9qy
@AndreSantos-hx9qy 9 жыл бұрын
I´m currently using P3. I got the table to record what i draw., in the csv file The table updates until 10 rows, im stuck here. I want to create a button to import the data saved in csv to be able to continue the work, after closing the program.
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+Andre Santos Sounds like this a more complex problem than what can easily be discussed in youtube comments. I would suggest making a post at forum.processing.org and link from here so I can follow!
@AndreSantos-hx9qy
@AndreSantos-hx9qy 9 жыл бұрын
Ok ill do that...thanks
@maissahamdi6029
@maissahamdi6029 4 жыл бұрын
hi I really admire your work, I would appreciate if you help me with a programme that receive data from arduino to processing and class them in a table
@andrewkiminhwan
@andrewkiminhwan 9 жыл бұрын
in p5.js, do dates in the form of integers separated by Slahes "/" count as Integer? or String?
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+andrew kim If they include slashes they would have to be a string (unless they are already some other JS object like a "Date" object or something). But I would assume string here.
@SimplyProd98
@SimplyProd98 6 жыл бұрын
can we get a p5.js version please :)
@rubyruby9425
@rubyruby9425 6 жыл бұрын
Very useful, thanks a lot
@JulianBejarano
@JulianBejarano 4 жыл бұрын
you are the best
@卫瑶
@卫瑶 2 жыл бұрын
thank you my bro! Love ya (mua >3
13.6: XML and JSON - Processing Tutorial
18:00
The Coding Train
Рет қаралды 128 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1,1 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
13.4: Word Counting - Processing Tutorial
20:07
The Coding Train
Рет қаралды 16 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 21 М.
Systems Design in an Hour
1:11:00
Jordan has no life
Рет қаралды 38 М.
10.4: Pixels! (The Pixels Array) - Processing Tutorial
21:25
The Coding Train
Рет қаралды 122 М.
13.3: loadStrings() - Processing Tutorial
14:14
The Coding Train
Рет қаралды 34 М.
Coding Challenge 183: Paper Marbling Algorithm
32:10
The Coding Train
Рет қаралды 81 М.
Exploratory Data Analysis with Pandas Python
40:22
Rob Mulla
Рет қаралды 516 М.
Coding Challenge 181: Weighted Voronoi Stippling
28:59
The Coding Train
Рет қаралды 181 М.