Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
y
- Page 1
Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
6 Days Ago
by Harini sri
Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also …
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…=C5BkxbbLbIY", "https://www.youtube.com/watch?v=7qbJvucsU-
Y
", "https://www.youtube.com/watch?v=DNNMS7l6A-g…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by jprog1000
Hello, Thank you again so much! All your additions are clear, but it seems like whenever two balls collide, more than one ball is added to the arraylist and painted. Any way to have just one ball added to the panel for every collision? Have some kind of a toggle flag in paintcomponent? Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by toneewa
Yes, this is true. Overlapping ball spawns can do that causing a chain reaction. Something like that could be done. How you handle the spawning of the new ball is what I played with a bit before. You will see better collision detection changing to: g.fillOval(ball.getX(), ball.getY(), 1 * ball.getRadius(), 1 * ball.getRadius());
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by vortex_1
In my opinion, implementing a feature in a bouncing balls simulation where a new ball is created when two balls collide can add an interesting and dynamic element to the simulation. This feature can introduce a sense of complexity and unpredictability, making the simulation more engaging and challenging for users. It could also provide an …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by jprog1000
Great reply, vortex! Agree with all your points.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by aishamushtaq
Hi, Its helpful for me. I got my answer.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by toneewa
… = false; return true; } return false; } public void setY(int
y
){ this.
y
=
y
; } public int getRadius(){ return this.radius; } public Rectangle getBounds(){ return…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by jprog1000
…x -= xDx; if ( yUp )
y
+= yDy; else
y
-= yDy; } public int getX(){ return… } } public void setY(int
y
){ this.
y
=
y
; } public int getRadius(){ return this…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by toneewa
… ); } if (xUp) x += xDx; else x -= xDx; if ( yUp )
y
+= yDy; else
y
-= yDy; } public int getX(){ return this.x; } public int…
Re: Trying to animate sprite using DirectX9
Programming
Software Development
1 Month Ago
by Pavel_11
… { cavemanRight.movex = +5; cavemanRight.x += cavemanRight.movex; cavemanRight.
y
+= cavemanRight.movey; } if(KEY_DOWN(VK_LEFT)) { cavemanRight.movex = -…5; cavemanRight.x += cavemanRight.movex; cavemanRight.
y
+= cavemanLeft.movey; } if(cavemanRight.movex > 0) {…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Months Ago
by usmanmalik57
… !pip install pytesseract !pip install easyocr !sudo apt-get install -
y
poppler-utils !pip install pdf2image !wget "https://fonts.google… entry['label'] == 'table column'] # Sort rows and columns by their
Y
and X coordinates, respectively rows.sort(key=lambda x: x…
Re: How can I create a meme generator using js canvas?
Programming
Web Development
2 Months Ago
by jessicaboland
…const userInput = 'Your Text Here'; ctx.fillText(userInput, x,
y
); // Initial text rendering // Mouse interaction canvas.addEventListener('mousemove', (e…on mouse coordinates x = e.clientX - canvas.getBoundingClientRect().left;
y
= e.clientY - canvas.getBoundingClientRect().top; // Clear and redraw…
Re: How Build video-player in html And css ?
Programming
1 Month Ago
by Kirubel_2
…; margin: 0; padding: 0; height: 101vh; overflow-
y
: hidden; } .container button{ background: transparent; color:white…-size: cover; background-repeat: no no-repeat; overflow-
y
: scroll; overflow-x: auto; } .body2{ height:…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by jprog1000
Thank you so much for your reply and additions! It is certainly working as I wanted. I will read through the code you have added and ask you any questions I might have. I hope you don't mind. Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by Dani
… oh, sorry, missed the bit about you still needing clarifications. Feel feee to ask :) I’ll now unmark this topic as solved. /facepalm
y my router always IP start from 192.168.2.1
Hardware and Software
Networking
15 Years Ago
by denniskhor
y
my router always IP start from 192.168.2.1, i wan start with 192.168.1.1... how to do it?? i reset many times ady... still same...
Re: Y DLL files?
Programming
Software Development
14 Years Ago
by Ancient Dragon
… use DLL files? Answer:
Y
not? >>where we should use DLL files and …
Re: y my router always IP start from 192.168.2.1
Hardware and Software
Networking
15 Years Ago
by DimaYasny
[QUOTE=denniskhor;638162]
y
my router always IP start from 192.168.2.1, i wan start with 192.168.1.1... how to do it?? i reset many times ady... still same...[/QUOTE] you set that up in the router LAN settings/DHCP server settings, not in the PC
y is this not showing output
Programming
Software Development
16 Years Ago
by lookforlohith
…; using namespace std; class lohi { int x; int
y
; public : lohi() { x=10;
y
=20; } }X; int main() { fstream io; io.open… expect a file to be created and contents of x,
y
to be in it........ but................................................................................................................ its not at all creating…
Re: y is this not showing output
Programming
Software Development
16 Years Ago
by ivailosp
[CODE=CPP] #include<iostream> #include<fstream> #include<iomanip> using namespace std; class lohi { int x; int
y
; public: lohi() { x=10;
y
=20; } } X; int main() { fstream io; io.open("just1", ios::out | ios::app); io.write((char*)&X, sizeof(X)); io.close(); } [/CODE]
Re: Y DLL files?
Programming
Software Development
14 Years Ago
by gerard4143
[QUOTE=adcodingmaster;1109235]My question is
Y
DLL? i know that it saves memory and many process … like these...You asked questions like - "My question is
Y
DLL?" and have statements like "can not b…
Y DLL files?
Programming
Software Development
14 Years Ago
by adcodingmaster
My question is
Y
DLL? i know that it saves memory and many process can use 1 DLL file at a time blah blah blah...... but is there any task which can not b achieved without using DLL files?? Please reply in details.
Re: Y DLL files?
Programming
Software Development
14 Years Ago
by adcodingmaster
ok. what about this one?
y
we use DLL files? i know it has advantages and …
Re: y my router always IP start from 192.168.2.1
Hardware and Software
Networking
15 Years Ago
by OlyComputers
How to do it depends on your router model, What's the brand and model? There will be a setting that says something like LAN IP settings, or DHCP settings. You can set the IP range it will assign here.
sort y but it not sort x
Programming
Software Development
15 Years Ago
by nurulshidanoni
… of the rest of array { if(min<
y
[j] ) //ascending order for descending reverse {…element min=
y
[j]; } } int temp=
y
[i], temp1=x[i] ;
y
[i]=
y
[minat]; //swap
y
[minat]=temp;…i]=x[minat]; x[minat]=temp1;
y
[i]=
y
[minat]; //swap
y
[minat]=temp; } myfile<<"…
how to get x,y co-ordinates from the picture box
Programming
Software Development
13 Years Ago
by ash_ng
…; } if (p1.
Y
< p2.
Y
) { rc.
Y
= p1.
Y
; rc.Height = p2.
Y
- p1.
Y
; } else { rc.
Y
= p2.
Y
; rc.Height = p1.
Y
- p2.
Y
; } textBox1.Text = Convert…
Store x and y coordinates using pointers in base class
Programming
Software Development
10 Years Ago
by kbear23
…= sqrt(pow((x[i] - x[i+1]), 2) + pow((
y
[i] -
y
[i+1]), 2)); double area = pow(length, 2); cout <…out. More codes: // ShapeTwoD.h class ShapeTwoD { protected: int x,
y
; string name; bool containsWarpSpace; double area; public: ShapeTwoD(); ShapeTwoD (string…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC