Well this is a project but sadly no WIP and at the moment no pics
BUT some good news if you want to make something along these lines
For numerous complex reasons, I ended up with two sets of hinges and one set of gas springs left over - don't ask.
So just testing the water to see if there is any interest in them and I can put them in the for sale section.
The mechanism is cunningly designed to bring the mattress towards the opening edge and hence away from the wall/headboard as it is opened. The gas springs counterbalance the weight of the mattress and keep it open when loading & unloading.
Extra gas springs are available from the usual suspects to add to the hinge pair that currently is without them.
Let me know if you are interested
Bob