[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now being accepted. Click here to apply.


[Advertise on 4chan]


File: chart.png (94 KB, 727x882)
94 KB
94 KB PNG
I am a brainlet trying to make a lewd game and i seem incapable of plotting the values to calculate "the end". So far i have 5 values i use for calculating the pleasure (desire, arousal, basePleasure, sensitivity and partnerAbility).

Is there a way to get these values to plot a curve like that finishes at minimum x seconds or 2x seconds max?
>>
File: calculating a.png (27 KB, 858x270)
27 KB
27 KB PNG
Here I've modelled arousal as time^1.8. y=x^1.8. I've picked 1.8 because it's not too curvy nor too linear, but any number works. Orgasm is achieved at y=1.
You can see that using some algebra (picrel), you can calculate the specific "a" that lets ensures y=1 is reached for some specific value we have picked (the time to orgasm). The "a" parameter does this by stretching the graph length-wise*. Note that my algebra is pretty wordy.
Here's a desmos graph you can play around with. Drag the dot to control when orgasm is reached.
https://www.desmos.com/calculator/zvbhrjonp8

*Okay it stretches it heightwise but it's the effectively the same thing for this type of graph.
>>
File: graph.png (343 KB, 918x1266)
343 KB
343 KB PNG
Ah I just realise what I've been calling arousal, you call pleasure. Do a mental Ctrl+H when reading what I wrote.
Not to cause scope creep or anything, but it turns out this topic of modelling arousal (pleasure) has been studied a little bit.
People propose that arousal (pleasure) occurs in stages, rather than in a single stage.

Using this model instead, you could achieve a richer simulation. You could adjust the height of the plateau, the intensity/duration of the orgasm, and even no any orgasm. This multiple stage sort of thing will need to be modelled 'piecewise'. (I.e. a different equation for different sections; simpler than you think). I guess in programming it would be some if statements. You'd have a linear section for the build up, flat line for the pleatau, and then an inverted parabola for the orgasms. Then a very steep linear section for the drop off.
This is only showing Masters&Johnsons model, but I remember seeing alternative proposed graphs that were qualitatively different from this.
>>
My dude, thank you, I will try it for sure and if the thread is still active, post results



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.