Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Posts by telefza
Building a Nannou App from their template. I want a circle to slowly fade in color and randomly change color when hitting the boundary of the window. But there is something strange going on when ...
Making a Nannou App that draws a line to the screen. My model only contains the window itself and a vector of tuples describing the points and color. Similar to this example(under Drawing Lines) ...
What I want: An object that contains a function that I can update after creation. I created a struct that contains a parameter b and a function(closure?) named Internal_Fn. struct MyThing { ...
Thanks to comments by elgonzo the solution was quite easy. hsl expects the first component (hue) to be in [0.0, 1.0] instead of [0.0, 360.0] and the third components (lightness) to be in [0.0, 1...
Problem was my_line is owned by _model and cannot be moved. Copying the entire my_line is apparently not possible, but what worked is making an element-wise copy of my_line, which is of type (Poin...
Trying to make a nannou app from the template but with a customizable model() function. The template has this main(): fn main() { nannou::app(model).update(update).run(); } The model t...