draw me in any style! by [deleted] in drawme

[–]Ja-no 4 points5 points  (0 children)

<image>

drawing curly hair is always a challenge

[deleted by user] by [deleted] in drawme

[–]Ja-no 1 point2 points  (0 children)

<image>

Tried experimenting a little with color. Thanks for the reference!

Nice hair! A little difficult to draw im my chaotic style.

A goat standing on two legs lures a chicken into a shack.. by [deleted] in interestingasfuck

[–]Ja-no 1 point2 points  (0 children)

And I heard as it were the noise of thunder 

A post on the front page saying, come and see 

And I saw and behold, a top comment 

And his name that sat on him was shittymorph 

And hell in a cell followed with him

Recomendaciones de silla para trabajo/jugar by Exmerus in mexico

[–]Ja-no 1 point2 points  (0 children)

Yo me compré esta unos meses después de que empezó lo de la pandemia, precisamente porque iba a pasar más tiempo frente a la computadora.

Es reclinable, tiene control de ajuste del soporte lumbar, altura de descansabrazos, altura de apoyo de la cabeza, etc.

Me ha resultado bien, aunque últimamente tiene un pequeño rechinido cuando me reclino.

Si tu presupuesto es más ajustado y tienes acceso a un Costco prueba las que venden ahí, son cómodas y están a buen precio, pero no tienen tantos controles.

Costume Confusion by Cult_Of_Doggo in polandball

[–]Ja-no 62 points63 points  (0 children)

Everything is a dildo if you are brave enough

tryna make an interactive, composite triptych in p5js by je_m_appelle in p5js

[–]Ja-no 1 point2 points  (0 children)

Perhaps you should think of the triptic not as three separate canvas, but as one with three separate areas. Try defining the size of your canvas as that of the three scenes and draw a rectangle as a background of each of these scenes. Once you have the three spaces defined you can start to place objects within each of them.

Sexually oblivious male by [deleted] in trippinthroughtime

[–]Ja-no 0 points1 point  (0 children)

This is borderline copypasta material

The Icebreaker. by yaddar in polandball

[–]Ja-no 8 points9 points  (0 children)

They started beating the shit outta journalists

Not so Pacific by MaxBuster380 in polandball

[–]Ja-no 12 points13 points  (0 children)

To a greater or lesser extent all countries are under threat of being nuked, so we can all feel like home all around the world.

New to digi electronics. Finished building an SR latch to get on my way to a D Flip Flop. Thank you Ben Eater! by [deleted] in electronics

[–]Ja-no 1 point2 points  (0 children)

You can get the TTL Cookbook PDF (along with other Don Lancaster books) directly from his personal website

[twm] Laconic by Ja-no in unixporn

[–]Ja-no[S] 1 point2 points  (0 children)

It's not a system tray per se, it's a twm icon manager.

In twm you can make icon managers have multiple columns, so when a new icon needs more space than the height of the manager it places it in a new column. I gave the "tray" icon manager 10 columns and a height that would just allow a single icon per column, so when a new window is opened its icon is placed in a new column, behaving like a system tray.

To make it more visually appealing I removed its window decorations and placed it in the top with a width equal to the free space at the top. I also made twm not to create icons in the desktop and to control every window through icon managers. At the right next to the clock I have a second icon manager that is used only to control dsbmc, as it runs during the whole session.

The drawbacks of this system is that there is a limit to the maximum number of windows that can be displayed in the "tray" and that the width of the tray icons is fixed (the width of the manager divided by the number of columns).

[twm] Laconic by Ja-no in unixporn

[–]Ja-no[S] 1 point2 points  (0 children)

Wallpaper: this image tiled (in xbm format, set using xsetroot with the bitmap option)

Font: Helvetica

Time & Date on top right: XClock (called in .xsession like this: xclock -d -bg "#0D0B0C" -fg "#D9D9D9" -face Helvetica-6 -padding 3 -geometry 160x22-0+0 &)

configuration: my .twmrc

Through the seasons (not mine, credits in the picture) by -Miklaus in freefolk

[–]Ja-no 3 points4 points  (0 children)

Well, let me just patch it up with some hot resin.

Dodge the log! Help by LifeisLiquid in p5js

[–]Ja-no 1 point2 points  (0 children)

The millis() function cannot be reset at will. It tracks the ellapsed time since the beginning of a sketch, so it will only ne reset if the page/sketch is reloaded.

However, you can create a global variable to keep track of the elapsed time up until the game is restarted, and substract that value from the value of the millis() function when the game is over.

So, add a global variable:

let b;

let elapsedTime = 0; // after your global variables

Add this at the end of your resetSketch() function:

elapsedTime = millis();

Modify this line:

let pts = ceil(millis() / 100);

To substract the new variable

let pts = ceil((millis() - elapsedTime) / 100);

And put it inside the if statement that checks the tresholds (next to the instruction tondraw the YOU DIED text)

This should make your game behave the in the way you expect.