Skip to content

March 8, `25: Upgraded to THREE r174, examples are all modules in one page #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

kellycode
Copy link

Required very few changes to upgrade to r174:

updateRange changed to addUpdateRange and
THREE.Math.generateUUID is gone so made SPE.utils.generateUUID

...most of the work was in the examples.

Changed the examples to modules for faster three upgrade testing and made a new BasicScene.js class to simplify the example repetitive scene building, and removed old local dependencies.

I'm upgrading an old project that uses this and that's what got me here. It's a nice particle engine and worth the upgrade time.

Great fun

@squarefeet
Copy link
Owner

Wow, this is a wonderful surprise, thank you @kellycode!

It's gonna take me a bit of time to go through it, but there are a couple of things I've noticed so far:

  1. There are a few folders that have been added, and I'm wondering what they're for: examples/archive and examples/img/Corel Auto-Preserve?
  2. There are a bunch of whitespace changes, which is making an initial pass at reviewing this a little tricky. It's my fault for not including any sort of linting, but the main difference in code that hasn't changed logic is the removal of spaces within parentheses. Not a blocker at all, just wanted to point it out!

I've, rather shamefully, let this project languish due to not really having the time to maintain it, so I'm massively appreciative of your efforts here. I'll be going through it properly over the next week, but on first glance, this is super helpful!

@kellycode
Copy link
Author

kellycode commented Mar 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants