Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
y
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
6 Days 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
5 Days Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
5 Days 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
4 Days 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
4 Days Ago
by Digital_39
Hi, Its helpful for me. I got my answer.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week 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
2 Weeks 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 Week 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
3 Weeks 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) {…
Re: How Build video-player in html And css ?
Programming
2 Weeks 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 Week 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 Week Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week 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
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week 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
1 Week 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());
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month 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
1 Month 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: import image from database image folder to pdf using fpdf
Programming
Web Development
2 Months Ago
by thir
…(pathinfo($_FILES['gambarvk_image']['name'], PATHINFO_EXTENSION)); //function Image($file, $x=null, $
y
=null, $w=0, $h=0, $type='', $link='') $pdf->Image… extension like PNG or JPG; //function Image($file, $x=null, $
y
=null, $w=0, $h=0, $type='', $link='') $pdf->Image…
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
… If Me.Caption = "X: " + Str(Player.MapX) + "
Y
: " + Str(Player.MapY) + " FPS: " + Str(FramePerSecond) + "…
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
… If Me.Caption = "X: " + Str(Player.MapX) + "
Y
: " + Str(Player.MapY) + " FPS: " + Str(FramePerSecond) + "…
Re: Track Faces from Videos with Margins Using Deep Learning in Python
Programming
Computer Science
2 Months Ago
by EdwardMatthew
It's fantastic, I have read this article and it is super amazing. thankyou for the knowledge.
Re: Help My Computer Takes Too Long Too Start
Hardware and Software
Information Security
17 Years Ago
by as786
y
Re: Pulling a portion of text from a MySQL table
Programming
Databases
16 Years Ago
by Xsimulator.net
y
Re: {help me......}
Programming
Software Development
13 Years Ago
by Jessurider
y
no-one to help me.................
Re: asp.net, accessing data in app_folder ?
Programming
Web Development
10 Years Ago
by HunainHafeez
(
Y
)
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 …
Can someone explain me this regex snippet
Programming
Software Development
13 Years Ago
by terabyte
y
/A-Za-z/N-ZA-Mn-za-m/; it is a rot13 script but I don't undestand how it works, what is the
y
// operator for
hi
Community Center
Say Hello!
17 Years Ago
by nicoarcila
y
si por mi fuera todos estarian muertos
tech
Programming
Software Development
16 Years Ago
by tiyagu_vpm
y
c++ is not fully oops
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
Meet People
Forums
Top Members
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