colorball's People
colorball's Issues
2D UI for color palettes
There ought to be a 2D color wheel in a side panel, with controls for selecting color schemes (complementary, opposite, tetrads, etc.) A swatch image should be available for the user to save and open in their image editor. HTML color codes would also be nice.
This will involve a plane / sphere intersection and some fancy math to convert the cartesian coordinates of the geometry into the spherical coordinates of the color space.
Need UI controls for the bisection plane.
I think the plane should always face the camera, and the scroll wheel move it up and down the camera's Z axis. A key modifier for fine control would be nice.
Reinvented THREE.Plane
Need setFromCoplanarPoints() and distanceToPoint(), maybe other methods too.
When vertices are moved, their color isn't updated
Uses 100% CPU all the time
Instead of redrawing every frame, use the callbacks to only update when the view or the scene changes. The trackball controls fire an event, and so should any other user input event.
Smooth the jagged edge where the plane cuts the sphere
The vertices of the triangles in the sphere mesh must be moved down the surface of the ideal sphere to the circular intersection with the plane. This requires powerful magic.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.