In_Class

just last week I didn’t know what to do for my next half semester, like i don’t know if I should chose the AI drawing process or I can just continue to work on my website to make it more fancy. What i do is to try to start the first step, even the whole project is very hard, not the first step is not that hard through, and when I began to take the first step I just can’t help myself to think about the next step.

I want to write them down xp22

When I received feedback that made me feel most pround or

sound like he’s really into it, I’m heading the right direction

deeper included a new perspective

I just ignored it

is a suggestion which provide a new perspective or a reference can make

Assignment

This week, I converted the format of every entry in the drawing page recorder—shifting from simple start and end points to vector data capable of forming continuous lines—and added a timeline to the entire drawing panel, allowing users to drag the slider to replay the drawing process. Subsequently, I also attempted to deploy the Sketch-RNN model. I will discuss this aspect in greater detail later on.

Vector Data

In reality, I didn't actually record a specific point—along with its direction—at regular intervals. Instead, during the mouseDragged() event, I recorded the coordinates for every single frame. I then calculated the directional data by comparing the coordinates of the current frame's point against those of the previous frame; however, I intend to perform that specific step in Python later on, once I am ready to organize the data and proceed with training.

Related code

currentStrokePoints.push({
    x: +(p.mouseX / p.width).toFixed(4),
    y: +(p.mouseY / p.height).toFixed(4)
});
window.captureStep = function(actionType, x, y) {
    const step = {
        action: {
            points: currentStrokePoints  
    };
    session.push(step);
};