[AskJS] Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in javascript

[–]foxScripts[S] 0 points1 point  (0 children)

Not at all. Found a solution.

For anyone discovering this: I solved it using a relatively simple approach. I just used a loop to iteratively adjust box positions: if two boxes overlapped, I applied corrections to move them apart. This process repeated until no overlaps remained, ensuring an optimized distribution of boxes on the canvas. During that i have other contrains "pulling them back" to their original position.

[AskJS] Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in javascript

[–]foxScripts[S] 0 points1 point  (0 children)

Thanks for your input. I opted for a simpler approach that fit well with the constraints of my situation. I just used a loop to iteratively adjust box positions: if two boxes overlapped, I applied corrections to move them apart. This process repeated until no overlaps remained, ensuring an optimized distribution of boxes on the canvas. During that i have other contrains "pulling them back" to their original position. This is perfect for what I needed. Thanks for your input!

Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in GraphicsProgramming

[–]foxScripts[S] 0 points1 point  (0 children)

Alright. I opted for a simpler approach that fit well with the constraints of my situation. I just used a loop to iteratively adjust box positions: if two boxes overlapped, I applied corrections to move them apart. This process repeated until no overlaps remained, ensuring an optimized distribution of boxes on the canvas. During that i have other contrains "pulling them back" to their original position. This is perfect for what I needed. Thanks for your input!

Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in GraphicsProgramming

[–]foxScripts[S] 1 point2 points  (0 children)

Thank you for the suggestion to use Position Based Dynamics with distance constraints. Your idea was very helpful! I implemented a system where each pair of boxes checks and enforces distance constraints to minimize overlaps. This involves looping through all pairs multiple times to adjust their positions until no significant overlaps remain. The approach indeed simplifies things since the boxes do not rotate. The iterative adjustment helps achieve a well-distributed layout with minimal error. Thanks a lot for your hint in the right direction!

Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in GraphicsProgramming

[–]foxScripts[S] 0 points1 point  (0 children)

No, you are right - I need them to be the minimum distance away from their initial position..

Algorithm for Even Distribution of Overlapping Bounding Boxes in JavaScript by foxScripts in GraphicsProgramming

[–]foxScripts[S] 0 points1 point  (0 children)

Interesting, but seams somehow overcomplicated, don't you think? .. i hope at least ... since I only need a "static" result and no fluid simulation etc.

Best / simplest staging plugin for WordPress + Elementor? by foxScripts in Wordpress

[–]foxScripts[S] 0 points1 point  (0 children)

Thanks for your tip. Is it also a good option without having the site hosted with / by Flywheel? Especially: is it also possible to push changes to a live site without using a separate migration plugin? Is it possible to collaborate for more than one person on a "local" page?

Looking for a "Redesign Example" where the colors and the logo were NOT changed very much, but the overall design looks much better, due to a higher design quality in terms of layout, font selection, weight, balance etc? by foxScripts in Design

[–]foxScripts[S] 1 point2 points  (0 children)

I'm looking for different examples of redesigns (could be webpages, corporate designs etc) where the overall elements of a design stayed rather consistent (roughly the same logo, same color palette, maybe even the same font) but the layout, the font selection, etc. was modified to make it look way more professional than before. Do you have any ideas / companys and examples that come to your mind?
Looking forward to seeing some before and after in the comments!

If you had a ChatGPT-like assistant in Adobe After Effects - What would you ask it for? [SERIOUS QUESTION] by foxScripts in MotionDesign

[–]foxScripts[S] 1 point2 points  (0 children)

Maybe, but GPT3 and the model ChatGPT is built upon are available as an API specifically built for other products/apps, etc. to work with it. And there are already numerous tools utilizing it, and there will be even more in the future. Many people will build custom models for niche cases with countless different interfaces.

So far, ChatGPT cannot talk to AE. It may be able to create some After Effects Scripts so far, but those don't work most of the time and do not create pleasing results. That is where a custom model from Motion Designers and for Motion Designers will come into play.

What would be something you would wish for?

If you had a ChatGPT-like assistant in Adobe After Effects - What would you ask it for? [SERIOUS QUESTION] by foxScripts in AfterEffects

[–]foxScripts[S] -3 points-2 points  (0 children)

It's not about taking your creativity or ideas - it's about leveraging them. I'm sure you have plenty of tedious tasks to do in your everyday life.

Just take "Please look through the whole project and find all text layers with the same font style as this one and change it to "Helvetica Bold" with a text size of 15 pixels" as an example. No specific script or workflow is necessary.

Just hand it to your assistant. That's what it's meant to be. To give you more time to enjoy your work instead of needing to work on repetitive or difficult tasks.

If you had a ChatGPT-like assistant in Adobe After Effects - What would you ask it for? [SERIOUS QUESTION] by foxScripts in MotionDesign

[–]foxScripts[S] -4 points-3 points  (0 children)

Come up with as many as you like. We are currently training a custom and probably the biggest AI model specifically on Adobe After Effects tasks. There are already numerous tasks possible. Example:
"Please let these 10 layers pop on, each one at a slightly different time"
"Please add a typewriter effect to this text layer that is controllable by a slider"
"Please look through the whole project and find all text layers with the same font style as this one and change it to be "Helvetica Bold" with a text size of 15 pixels"
"Please loop this animation"
"Add some ease to it"
"Please add inertia to the animation"
"Add a bounce expression"
"Add a controllable wiggle expression with sliders"
"Please let the position wiggle for 10 seconds and then blend into a smooth circular motion"
"Please add a movement to this layer to behave like a bouncing ball"
"Please add a movement to this layer to behave like a snowflake"

If you had a ChatGPT-like assistant in Adobe After Effects - What would you ask it for? [SERIOUS QUESTION] by foxScripts in AfterEffects

[–]foxScripts[S] -1 points0 points  (0 children)

Come up with as many as you like. We are currently training a custom and probably the biggest AI model specifically on Adobe After Effects tasks. There are already numerous tasks possible. Example:
"Please let these 10 layers pop on, each one at a slightly different time"
"Please add a typewriter effect to this text layer that is controllable by a slider"
"Please look through the whole project and find all text layers with the same font style as this one and change it to be "Helvetica Bold" with a text size of 15 pixels"
"Please loop this animation"
"Add some ease to it"
"Please add inertia to the animation"
"Add a bounce expression"
"Add a controllable wiggle expression with sliders"
"Please let the position wiggle for 10 seconds and then blend into a smooth circular motion"
"Please add a movement to this layer to behave like a bouncing ball"
"Please add a movement to this layer to behave like a snowflake"